Cannot compile against Qt4.3

Bug #390265 reported by Anaximandar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Low
Christophe Dumez

Bug Description

Dear Sir Christophe,
 First of all want to thank you on your work on this program.
 Use (qBittorrent) of 0.9x version the current version 1.3.2.
 Program is an excellent, fast, beautiful, functional and the other is a real champion.

And now something like "Bug" , in the version 1.3.3 that I could not compile ,
 I think that the error in the "searchEngine.cpp ? So we send you with my STDOUT "Konsole" :

[mrj@localhost qbittorrent-1.3.3]$ ./configure
Configuring qbittorrent ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.3 ... yes
Checking for libtorrent-rasterbar >= 0.14 ... yes
Checking for libboost ... yes
Checking for libcurl ... yes
Checking for Zzip library (libzzip) ... yes

Good, your configure finished. Now run /usr/bin/gmake.

[mrj@localhost qbittorrent-1.3.3]$ gmake
cd src/ && /usr/lib/qt4/bin/qmake src.pro -unix -o Makefile
Project MESSAGE: Release build!
cd src/ && gmake -f Makefile
gmake[1]: Entering directory `/home/mrj/RPM/tmp/qbittorrent-1.3.3/src'
/usr/lib/qt4/bin/uic MainWindow.ui -o ui_MainWindow.h
/usr/lib/qt4/bin/uic options.ui -o ui_options.h
/usr/lib/qt4/bin/uic about.ui -o ui_about.h
/usr/lib/qt4/bin/uic properties.ui -o ui_properties.h
/usr/lib/qt4/bin/uic createtorrent.ui -o ui_createtorrent.h
'' isn't a valid widget
/usr/lib/qt4/bin/uic preview.ui -o ui_preview.h
/usr/lib/qt4/bin/uic login.ui -o ui_login.h
/usr/lib/qt4/bin/uic downloadFromURL.ui -o ui_downloadFromURL.h
/usr/lib/qt4/bin/uic addTorrentDialog.ui -o ui_addTorrentDialog.h
/usr/lib/qt4/bin/uic search.ui -o ui_search.h
/usr/lib/qt4/bin/uic rss.ui -o ui_rss.h
Warning: name layoutWidget is already used
/usr/lib/qt4/bin/uic seeding.ui -o ui_seeding.h
/usr/lib/qt4/bin/uic bandwidth_limit.ui -o ui_bandwidth_limit.h
/usr/lib/qt4/bin/uic download.ui -o ui_download.h
/usr/lib/qt4/bin/uic engineSelect.ui -o ui_engineSelect.h
/usr/lib/qt4/bin/uic pluginSource.ui -o ui_pluginSource.h
/usr/lib/qt4/bin/uic trackersAdd.ui -o ui_trackersAdd.h
/usr/lib/qt4/bin/uic console.ui -o ui_console.h
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o GUI.o GUI.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o options_imp.o options_imp.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o properties_imp.o properties_imp.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o createtorrent_imp.o createtorrent_imp.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o bittorrent.o bittorrent.cpp
g++ -c -pipe -O2 -DHAVE_SSL -DTORRENT_USE_OPENSSL -DTORRENT_LINKING_SHARED -I/usr/include/libtorrent -I/usr/include/openssl -D_REENTRANT -Wall -W -DVERSION=\"v1.3.3\" -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_BUGFIX=3 -DQT_NO_DEBUG_OUTPUT -DHAVE_ZZIP -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtCore -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtNetwork -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtGui -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include/QtXml -I/usr/lib/qt4/include -I/usr/include -I/usr/include/libtorrent -I/usr/include -I/usr/include -I/usr/include -I/usr/X11R6/include -I. -I. -o searchEngine.o searchEngine.cpp
searchEngine.cpp: In member function ‘void SearchEngine::downloadFinished(int, QProcess::ExitStatus)’:
searchEngine.cpp:272: error: ‘class QList<QProcess*>’ has no member named ‘removeOne’
gmake[1]: *** [searchEngine.o] Error 1
gmake[1]: Leaving directory `/home/mrj/RPM/tmp/qbittorrent-1.3.3/src'
gmake: *** [sub-src-make_default] Error 2
[mrj@localhost qbittorrent-1.3.3]$

 I just like a proposal I said fact, if it is possible that the next version
 of a module for monitoring Embed "peers", and the possibility for selection of files
 in the "Properties Torrent" or more better for option menu.
 Excuse for my English .

P.S. Long live the Tux

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Oh yes, this method was introduced in Qt 4.4: You're probably using 4.3. I'm commiting a fix to svn but you can easily apply the fix yourself in order to compile quickly:

--- src/searchEngine.cpp (revision 2331)
+++ src/searchEngine.cpp (working copy)
@@ -269,7 +269,7 @@
     }
   }
   qDebug("Deleting downloadProcess");
- downloaders.removeOne(downloadProcess);
+ downloaders.removeAll(downloadProcess);
   delete downloadProcess;
 }

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → Low
milestone: none → 1.3.4
status: New → Fix Committed
summary: - not compile source v.1.3.3
+ Cannot compile against Qt4.3
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

v1.3.4 was released.

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.