Created attachment 401160 [details] the build log on my ~amd64 system qbittorrent fails to compile with this: x86_64-pc-linux-gnu-g++ -c -march=nocona -O2 -pipe -ggdb -Wformat -Wformat-security -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.12\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=12 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o mainwindow.o mainwindow.cpp x86_64-pc-linux-gnu-g++ -c -march=nocona -O2 -pipe -ggdb -Wformat -Wformat-security -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.12\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=12 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I. -I. -o ico.o ico.cpp In file included from mainwindow.cpp:83:0: sessionapplication.h:39:33: fatal error: qtsingleapplication.h: No such file or directory #include "qtsingleapplication.h" ^ compilation terminated. Makefile:1992: recipe for target 'mainwindow.o' failed make[1]: *** [mainwindow.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12/src' Makefile:39: recipe for target 'sub-src-make_default' failed make: *** [sub-src-make_default] Error 2 * ERROR: net-p2p/qbittorrent-3.1.12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-p2p/qbittorrent-3.1.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-p2p/qbittorrent-3.1.12::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/temp/environment'. * Working directory: '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12' * S: '/var/tmp/portage/net-p2p/qbittorrent-3.1.12/work/qbittorrent-3.1.12
Created attachment 401162 [details] my "emerge --info" output
What is the version of dev-qt/qtsingleapplication?
this was also happening to me. what fixed it was recompiling qtsingleapplication with qt4 use flag. info: Installed versions: 2.6.1_p20130904-r2{tbz2}(11:17:31 10-05-2015)(X qt4 qt5 -doc)
Thanks, I've added the missing USE dependency.