compile problem, qt 5.7.0 ?

Forum to talk about the development of SMPlayer (code, patches...).

compile problem, qt 5.7.0 ?

Postby sergiomb » Sun Jul 17, 2016 8:14 pm

Hello , I saw yours rpms https://build.opensuse.org/package/show ... mplayerdev , that you had switch to qt5 , I decided update also RPMFusion , but fail to build in rawhide ...

Code: Select all
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DSINGLE_INSTANCE -DFIND_SUBTITLES -DVIDEOPREVIEW -DYOUTUBE_SUPPORT -DBLURAY_SUPPORT -DTV_SUPPORT -DGUI_CHANGE_ON_RUNTIME -DLOG_MPLAYER -DLOG_SMPLAYER -DDEFAULTGUI -DMINIGUI -DMPCGUI -DSKINS -DMPRIS2 -DUPDATE_CHECKER -DCHECK_UPGRADED -DAUTO_SHUTDOWN_PC -DCAPTURE_STREAM -DBOOKMARKS -DMOUSE_GESTURES -DGLOBALSHORTCUTS -DMPV_SUPPORT -DMPLAYER_SUPPORT -DMPLAYER2_SUPPORT -DSHARE_ACTIONS -DSHARE_WIDGET -DHDPI_SUPPORT -DDOWNLOAD_SUBS -DOS_SEARCH_WORKAROUND -DYT_USE_SCRIPT -DYT_USE_SIG -DYT_USE_YTSIG -DDATA_PATH=\"/usr/share/smplayer\" -DDOC_PATH=\"/usr/share/doc/smplayer\" -DTRANSLATION_PATH=\"/usr/share/smplayer/translations\" -DTHEMES_PATH=\"/usr/share/smplayer/themes\" -DSHORTCUTS_PATH=\"/usr/share/smplayer/shortcuts\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SCRIPT_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Ifindsubtitles -Ifindsubtitles/maia -Ifindsubtitles/filedownloader -Iyoutube -Impcgui -Iskingui -Impris2 -Ivideopreview -isystem /usr/include/qt5/QtSolutions -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui/5.7.0 -isystem /usr/include/qt5/QtGui/5.7.0/QtGui -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore/5.7.0 -isystem /usr/include/qt5/QtCore/5.7.0/QtCore -isystem /usr/include/qt5/QtCore -I.moc -I.ui -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/playlistdock.o playlistdock.cpp
In file included from playlistdock.cpp:51:0:
.moc/moc_playlistdock.cpp:141:46: error: no 'void PlaylistDock::visibilityChanged(bool)' member function declared in class 'PlaylistDock'
 void PlaylistDock::visibilityChanged(bool _t1)


https://koji.rpmfusion.org/kojifiles/wo ... /build.log
https://pkgs.rpmfusion.org/cgit/free/smplayer.git/
http://koji.rpmfusion.org/koji/packagei ... kageID=221
sergiomb
 
Posts: 12
Joined: Mon Nov 26, 2012 7:00 pm
Location: Portugal

Re: compile problem, qt 5.7.0 ?

Postby rvm » Mon Jul 18, 2016 1:49 am

Try adding
Code: Select all
#include <QtGlobal>

in playlistdock.h.

If that doesn't work, delete the lines for Qt 4.3 in playlistdock.h and playlistdock.cpp.
rvm
Site Admin
 
Posts: 2719
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: compile problem, qt 5.7.0 ?

Postby sergiomb » Tue Jul 19, 2016 1:48 am

I had to remove the qt43 code !

https://pkgs.rpmfusion.org/cgit/free/sm ... code.patch


Thanks , for helping out
sergiomb
 
Posts: 12
Joined: Mon Nov 26, 2012 7:00 pm
Location: Portugal


Return to Development

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest