Page 1 of 1
compile with qt5
Posted:
Wed Mar 20, 2013 3:26 pm
by jjonasbcosta
Can I compile smplayer step-by-step with qt5 on microsof windows?
I have many difficulties!
Can you help me?
Re: compile with qt5
Posted:
Thu Mar 21, 2013 6:12 pm
by rvm
I'm still using Qt 4.7 so I can't help you.
Re: compile with qt5
Posted:
Thu Mar 21, 2013 7:10 pm
by jjonasbcosta
I'm install now Qt 4.8. and receveid one error
E:\SourceCode\smplayer-0.8.3\smplayer-build-Desktop-Debug\release\moc_quazipfile.cpp:49: error: C2491: 'QuaZipFile::staticMetaObjectExtraData' : definition of dllimport static data member not allowed
Re: compile with qt5
Posted:
Thu Mar 21, 2013 8:55 pm
by jjonasbcosta
Re: compile with qt5
Posted:
Fri Mar 22, 2013 12:47 am
by redxii
I dont know about that specific error, but Qt likes to install to C: by default, the sources and Qt must be all on the same partition so make sure you installed Qt to E: or move the source code to C: if you chose the default install path.
I use 4.7.4 & 4.8.4 without issue. Just launch the qt command prompt shortcut in the start menu and run the compile_windows.cmd script.
Re: compile with qt5
Posted:
Sat Mar 23, 2013 3:53 pm
by jjonasbcosta
Re: compile with qt5
Posted:
Sun Mar 31, 2013 9:50 pm
by redxii
Re: compile with qt5
Posted:
Tue Apr 02, 2013 9:40 pm
by jjonasbcosta
you should verify your path. The path variables was definied in my case in C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qtenv2.bat. This bat file is used by qtconsole
Re: compile with qt5
Posted:
Tue Apr 30, 2013 7:02 am
by wild1978
I compile with Qt5.0.2 and modified smplayer.pro (Qt+=network xml widgets)
and get messages:
D:\smplayer-code\smplayer\trunk>compile_windows
SVN Revision: 5273
gcc -O3 -Wall -c -o adler32.o adler32.c
gcc -O3 -Wall -c -o compress.o compress.c
gcc -O3 -Wall -c -o crc32.o crc32.c
gcc -O3 -Wall -c -o deflate.o deflate.c
gcc -O3 -Wall -c -o gzclose.o gzclose.c
gcc -O3 -Wall -c -o gzlib.o gzlib.c
gcc -O3 -Wall -c -o gzread.o gzread.c
gcc -O3 -Wall -c -o gzwrite.o gzwrite.c
gcc -O3 -Wall -c -o infback.o infback.c
gcc -O3 -Wall -c -o inffast.o inffast.c
gcc -O3 -Wall -c -o inflate.o inflate.c
gcc -O3 -Wall -c -o inftrees.o inftrees.c
gcc -O3 -Wall -c -o trees.o trees.c
gcc -O3 -Wall -c -o uncompr.o uncompr.c
gcc -O3 -Wall -c -o zutil.o zutil.c
gcc -o minigzip.exe minigzip.o libz.a
strip minigzip.exe
gcc -o example_d.exe example.o libz.dll.a
strip example_d.exe
gcc -o minigzip_d.exe minigzip.o libz.dll.a
strip minigzip_d.exe
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_es.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_de.qm'...
Generated 1575 translation(s) (1548 finished and 27 unfinished)
Ignored 116 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_sk.qm'...
Generated 826 translation(s) (748 finished and 78 unfinished)
Ignored 865 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_it.qm'...
Generated 1530 translation(s) (1499 finished and 31 unfinished)
Ignored 161 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_fr.qm'...
Generated 1645 translation(s) (1637 finished and 8 unfinished)
Ignored 46 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_zh_CN.qm'...
Generated 1690 translation(s) (1690 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ru_RU.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_hu.qm'...
Generated 1523 translation(s) (1487 finished and 36 unfinished)
Ignored 168 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_en_US.qm'...
Generated 1 translation(s) (1 finished and 0 unfinished)
Ignored 1690 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_pl.qm'...
Generated 1556 translation(s) (1530 finished and 26 unfinished)
Ignored 135 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ja.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_nl.qm'...
Generated 1295 translation(s) (1255 finished and 40 unfinished)
Ignored 396 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_uk_UA.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_pt_BR.qm'...
Generated 1688 translation(s) (1688 finished and 0 unfinished)
Ignored 3 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ka.qm'...
Generated 397 translation(s) (140 finished and 257 unfinished)
Ignored 1294 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_cs.qm'...
Generated 1615 translation(s) (1599 finished and 16 unfinished)
Ignored 76 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_bg.qm'...
Generated 478 translation(s) (230 finished and 248 unfinished)
Ignored 1213 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_tr.qm'...
Generated 1331 translation(s) (1291 finished and 40 unfinished)
Ignored 360 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_sv.qm'...
Generated 489 translation(s) (237 finished and 252 unfinished)
Ignored 1202 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_sr.qm'...
Generated 477 translation(s) (230 finished and 247 unfinished)
Ignored 1214 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_zh_TW.qm'...
Generated 953 translation(s) (871 finished and 82 unfinished)
Ignored 738 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ro_RO.qm'...
Generated 1161 translation(s) (1088 finished and 73 unfinished)
Ignored 530 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_pt.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_el_GR.qm'...
Generated 1425 translation(s) (1382 finished and 43 unfinished)
Ignored 266 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_fi.qm'...
Generated 1518 translation(s) (1487 finished and 31 unfinished)
Ignored 173 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ko.qm'...
Generated 694 translation(s) (547 finished and 147 unfinished)
Ignored 997 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_mk.qm'...
Generated 906 translation(s) (802 finished and 104 unfinished)
Ignored 785 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_eu.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ca.qm'...
Generated 862 translation(s) (737 finished and 125 unfinished)
Ignored 829 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_sl_SI.qm'...
Generated 533 translation(s) (462 finished and 71 unfinished)
Ignored 1158 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ar_SY.qm'...
Generated 889 translation(s) (0 finished and 889 unfinished)
Ignored 802 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_ku.qm'...
Generated 1212 translation(s) (969 finished and 243 unfinished)
Ignored 479 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_gl.qm'...
Generated 1683 translation(s) (1683 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_vi_VN.qm'...
Generated 1398 translation(s) (1351 finished and 47 unfinished)
Ignored 293 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_et.qm'...
Generated 1123 translation(s) (1073 finished and 50 unfinished)
Ignored 568 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_lt.qm'...
Generated 1691 translation(s) (1691 finished and 0 unfinished)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_da.qm'...
Generated 1528 translation(s) (1491 finished and 37 unfinished)
Ignored 163 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_hr.qm'...
Generated 1651 translation(s) (1637 finished and 14 unfinished)
Ignored 40 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_he_IL.qm'...
Generated 1566 translation(s) (1562 finished and 4 unfinished)
Ignored 125 untranslated source text(s)
Updating 'D:/smplayer-code/smplayer/trunk/src/translations/smplayer_th.qm'...
Generated 1254 translation(s) (1214 finished and 40 unfinished)
Ignored 437 untranslated source text(s)
WARNING: Failure to find: qtsingleapplication.cpp
WARNING: Failure to find: qtlocalpeer.cpp
WARNING: Failure to find: osparser.cpp
WARNING: Failure to find: findsubtitlesconfigdialog.cpp
WARNING: Failure to find: findsubtitleswindow.cpp
WARNING: Failure to find: filedownloader.cpp
WARNING: Failure to find: subchooserdialog.cpp
WARNING: Failure to find: fixsubs.cpp
WARNING: Failure to find: ioapi.c
WARNING: Failure to find: quazip.cpp
WARNING: Failure to find: quazipfile.cpp
WARNING: Failure to find: quazipnewinfo.cpp
WARNING: Failure to find: unzip.c
WARNING: Failure to find: zip.c
WARNING: Failure to find: retrieveyoutubeurl.cpp
WARNING: Failure to find: myicon.cpp
WARNING: Failure to find: mybutton.cpp
WARNING: Failure to find: panelseeker.cpp
WARNING: Failure to find: playcontrol.cpp
WARNING: Failure to find: mediapanel.cpp
WARNING: Failure to find: volumecontrolpanel.cpp
WARNING: Failure to find: mediabarpanel.cpp
WARNING: Failure to find: qpropertysetter.cpp
WARNING: Failure to find: actiontools.cpp
WARNING: Failure to find: skingui.cpp
WARNING: Failure to find: videopreview.cpp
WARNING: Failure to find: videopreviewconfigdialog.cpp
WARNING: Failure to find: qtsingleapplication.h
WARNING: Failure to find: qtlocalpeer.h
WARNING: Failure to find: osparser.h
WARNING: Failure to find: findsubtitlesconfigdialog.h
WARNING: Failure to find: findsubtitleswindow.h
WARNING: Failure to find: filedownloader.h
WARNING: Failure to find: subchooserdialog.h
WARNING: Failure to find: fixsubs.h
WARNING: Failure to find: crypt.h
WARNING: Failure to find: ioapi.h
WARNING: Failure to find: quazip.h
WARNING: Failure to find: quazipfile.h
WARNING: Failure to find: quazipfileinfo.h
WARNING: Failure to find: quazipnewinfo.h
WARNING: Failure to find: unzip.h
WARNING: Failure to find: zip.h
WARNING: Failure to find: retrieveyoutubeurl.h
WARNING: Failure to find: myicon.h
WARNING: Failure to find: mybutton.h
WARNING: Failure to find: panelseeker.h
WARNING: Failure to find: playcontrol.h
WARNING: Failure to find: mediapanel.h
WARNING: Failure to find: volumecontrolpanel.h
WARNING: Failure to find: mediabarpanel.h
WARNING: Failure to find: qpropertysetter.h
WARNING: Failure to find: actiontools.h
WARNING: Failure to find: skingui.h
WARNING: Failure to find: videopreview.h
WARNING: Failure to find: videopreviewconfigdialog.h
WARNING: Failure to find: findsubtitleswindow.ui
WARNING: Failure to find: findsubtitlesconfigdialog.ui
WARNING: Failure to find: subchooserdialog.ui
WARNING: Failure to find: mediapanel.ui
WARNING: Failure to find: mediabarpanel.ui
WARNING: Failure to find: videopreviewconfigdialog.ui
WARNING: Failure to find: qtsingleapplication.cpp
WARNING: Failure to find: qtlocalpeer.cpp
WARNING: Failure to find: osparser.cpp
WARNING: Failure to find: findsubtitlesconfigdialog.cpp
WARNING: Failure to find: findsubtitleswindow.cpp
WARNING: Failure to find: filedownloader.cpp
WARNING: Failure to find: subchooserdialog.cpp
WARNING: Failure to find: fixsubs.cpp
WARNING: Failure to find: ioapi.c
WARNING: Failure to find: quazip.cpp
WARNING: Failure to find: quazipfile.cpp
WARNING: Failure to find: quazipnewinfo.cpp
WARNING: Failure to find: unzip.c
WARNING: Failure to find: zip.c
WARNING: Failure to find: retrieveyoutubeurl.cpp
WARNING: Failure to find: myicon.cpp
WARNING: Failure to find: mybutton.cpp
WARNING: Failure to find: panelseeker.cpp
WARNING: Failure to find: playcontrol.cpp
WARNING: Failure to find: mediapanel.cpp
WARNING: Failure to find: volumecontrolpanel.cpp
WARNING: Failure to find: mediabarpanel.cpp
WARNING: Failure to find: qpropertysetter.cpp
WARNING: Failure to find: actiontools.cpp
WARNING: Failure to find: skingui.cpp
WARNING: Failure to find: videopreview.cpp
WARNING: Failure to find: videopreviewconfigdialog.cpp
WARNING: Failure to find: qtsingleapplication.h
WARNING: Failure to find: qtlocalpeer.h
WARNING: Failure to find: osparser.h
WARNING: Failure to find: findsubtitlesconfigdialog.h
WARNING: Failure to find: findsubtitleswindow.h
WARNING: Failure to find: filedownloader.h
WARNING: Failure to find: subchooserdialog.h
WARNING: Failure to find: fixsubs.h
WARNING: Failure to find: crypt.h
WARNING: Failure to find: ioapi.h
WARNING: Failure to find: quazip.h
WARNING: Failure to find: quazipfile.h
WARNING: Failure to find: quazipfileinfo.h
WARNING: Failure to find: quazipnewinfo.h
WARNING: Failure to find: unzip.h
WARNING: Failure to find: zip.h
WARNING: Failure to find: retrieveyoutubeurl.h
WARNING: Failure to find: myicon.h
WARNING: Failure to find: mybutton.h
WARNING: Failure to find: panelseeker.h
WARNING: Failure to find: playcontrol.h
WARNING: Failure to find: mediapanel.h
WARNING: Failure to find: volumecontrolpanel.h
WARNING: Failure to find: mediabarpanel.h
WARNING: Failure to find: qpropertysetter.h
WARNING: Failure to find: actiontools.h
WARNING: Failure to find: skingui.h
WARNING: Failure to find: videopreview.h
WARNING: Failure to find: videopreviewconfigdialog.h
WARNING: Failure to find: findsubtitleswindow.ui
WARNING: Failure to find: findsubtitlesconfigdialog.ui
WARNING: Failure to find: subchooserdialog.ui
WARNING: Failure to find: mediapanel.ui
WARNING: Failure to find: mediabarpanel.ui
WARNING: Failure to find: videopreviewconfigdialog.ui
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory 'D:/smplayer-code/smplayer/trunk/src'
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe inputdvddirectory.ui -o ui_inputdvddi
rectory.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe logwindowbase.ui -o ui_logwindowbase.
h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe filepropertiesdialog.ui -o ui_filepro
pertiesdialog.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe eqslider.ui -o ui_eqslider.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe seekwidget.ui -o ui_seekwidget.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe inputurl.ui -o ui_inputurl.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe videoequalizer2.ui -o ui_videoequaliz
er2.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe vdpauproperties.ui -o ui_vdpaupropert
ies.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe preferencesdialog.ui -o ui_preference
sdialog.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefgeneral.ui -o ui_prefgeneral.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefdrives.ui -o ui_prefdrives.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefinterface.ui -o ui_prefinterface.
h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefperformance.ui -o ui_prefperforma
nce.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefinput.ui -o ui_prefinput.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefsubtitles.ui -o ui_prefsubtitles.
h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefadvanced.ui -o ui_prefadvanced.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe prefplaylist.ui -o ui_prefplaylist.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe preftv.ui -o ui_preftv.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe favoriteeditor.ui -o ui_favoriteedito
r.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe about.ui -o ui_about.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe inputmplayerversion.ui -o ui_inputmpl
ayerversion.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe errordialog.ui -o ui_errordialog.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe timedialog.ui -o ui_timedialog.h
E:\Qt\Qt5.0.2\5.0.2\mingw47_32\bin\uic.exe toolbareditor.ui -o ui_toolbareditor.
h
mingw32-make[1]: *** No rule to make target 'findsubtitleswindow.ui', needed by
'ui_findsubtitleswindow.h'. Stop.
mingw32-make[1]: Leaving directory 'D:/smplayer-code/smplayer/trunk/src'
makefile:34: recipe for target 'release' failed
mingw32-make: *** [release] Error 2
Compilation error, script aborted
D:\smplayer-code\smplayer\trunk\src>
QApplication.h is now in QtWidget package in Qt5.
QHttp is still a problem as it is not public anymore and replaced by QNetworkAccessManager in Qt5. the source code should be changed but I don't know how.
Best regards,
Wild