[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - How to compile smplayer on Windows
Page 2 of 2

Re: How to compile smplayer on Windows

PostPosted: Sun Jun 15, 2014 5:32 am
by redxii
It may be because you used a too dissimilar MinGW to compile smplayer than the Qt binaries were built with. This is the one they use for Qt 4.8.5 and earlier, and should fix that compile error too: https://docs.google.com/file/d/0B4D8x6C ... edit?pli=1 (via http://nosymbolfound.blogspot.com/2012/ ... ws-is.html )

Re: How To Compile Smplayer On Windows

PostPosted: Mon Nov 26, 2018 8:03 pm
by quasigiani
Alright, it's been nearly half a decade...

So I ask, you. Anyone. Anyone know what'll work now?

* QT is a 2.5GB, (slowly!) exploding to ->5Gb monster. A beast known now as QT (a wholly-owned "open") 5.11.2...

* Visual Studio is of 2017...

* MinGW (minimal? some 1400? 14000? files... {featuring such minimalistic features as {at least} 6 aliases per executable tool...

If you know what whiches to gather and grab, please do tell.

Thanks!

Re: How to compile smplayer on Windows

PostPosted: Thu Nov 29, 2018 1:17 am
by redxii
5.6.0 is the current version used, Qt's official installer will work if you don't want to compile SMTube (or 64-bit) since they don't have WebKit included anymore, these include WebKit & 64-bit: https://sourceforge.net/projects/smplay ... Qt5/5.6.0/

I currently use 5.6.3: https://sourceforge.net/projects/smplay ... Qt5/5.6.3/

Qt 4.8 will work as well, this is the last version of the 4.8 series:
https://download.qt.io/archive/qt/4.8/4 ... mirrorlist

If you want to build 64-bit 4.8.7, there is a 64-bit version here: https://sourceforge.net/projects/smplay ... er/Qt/Qt4/

All you have to do with the 7z versions is extract them and run qtenv2-x86.cmd (32-bit) or qtenv2-x64.cmd (64-bit) from the Qt bin directory. They are all compiled by myself.

I haven't messed with newer versions since 5.8, I get them to compile with webkit and 64-bit SMTube, the non-debug versions of 64-bit SMTube crashes but not when compiled with debug symbols. Can't debug if the debug version doesn't crash.

SMPlayer can be compiled with a range of older versions and the SMPlayer source code is very flexible to what version of Qt it is being compiled with. One issue is SMTube uses webkit, it was deprecated in 5.6 and what they replaced it with requires MSVC and they refuse to support MinGW.

Re: How to compile smplayer on Windows

PostPosted: Mon Dec 03, 2018 2:33 am
by quasigiani
Thanks, redxii, for all of that nicely presented and very informative post!

I'll certainly be able to take a much better stab at getting SMPlayer to compile... and then hopefully start tweaking it a bit.

I'm still not entirely sure what compiler to use (I'd love to just pull the whole project into Microsoft Visual Studio Community 2017), but I've yet to begin following all the leads & links you've given.

Thanks again!

Re: How to compile smplayer on Windows

PostPosted: Mon Dec 03, 2018 8:28 am
by redxii

Re: How to compile smplayer on Windows

PostPosted: Mon Dec 03, 2018 9:45 am
by redxii
Hopefully this helps, I made the scripts so they use relative paths. They aren't fixed. When you run command prompt then launch 'qtenv2', it uses a relative path. You can extract it to 'C:\SuperMan5000\5.6.3-x64' for all it cares, just have it and the SMPlayer sources on the same partition and don't use spaces.

1.png
1.png (90.68 KiB) Viewed 69129 times

2.png
2.png (394.29 KiB) Viewed 69129 times

3.png
3.png (390.77 KiB) Viewed 69129 times

4.png
4.png (397.41 KiB) Viewed 69129 times

5.png
5.png (496.88 KiB) Viewed 69129 times


You can create a shortcut to 'qtenv2' like so (like Qt's official installers do), otherwise running 'qtenv2' directly will just flash a cmd window:

a.png
a.png (163.32 KiB) Viewed 69129 times

b.png
b.png (162.88 KiB) Viewed 69129 times