sudo apt-get install build-essential qt4-dev-tools libphonon-dev
followed by
'qmake', then 'make'
after which i get this error
Code: Select all
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DDATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/minitube\" -DQT_NO_DEBUG -DQT_PHONON_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/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/phonon -I/usr/include/phonon -I/usr/include/qt4 -I/usr/include/phonon -Isrc/qtsingleapplication -Isrc/thlibrary -Ilocale -Ibuild/moc -I. -o build/obj/MainWindow.o src/MainWindow.cpp
In file included from src/MainWindow.cpp:5:
src/global.h:8:32: error: QNetworkProxyFactory: No such file or directory
In file included from src/MainWindow.cpp:5:
src/global.h: In function ‘void The::maybeSetSystemProxy()’:
src/global.h:32: error: ‘QNetworkProxyQuery’ was not declared in this scope
src/global.h:32: error: expected `;' before ‘proxyQuery’
src/global.h:33: error: ‘proxyQuery’ was not declared in this scope
src/global.h:34: error: ‘QNetworkProxyFactory’ has not been declared
src/MainWindow.h: In constructor ‘MainWindow::MainWindow()’:
src/MainWindow.h:143: warning: ‘MainWindow::audioOutput’ will be initialized after
src/MainWindow.h:99: warning: ‘QWidget* MainWindow::aboutView’
src/MainWindow.cpp:7: warning: when initialized here
src/MainWindow.cpp: In member function ‘void MainWindow::showWidget(QWidget*)’:
src/MainWindow.cpp:425: warning: unused variable ‘oldWidget’
src/Constants.h: At global scope:
src/Constants.h:9: warning: ‘Constants::ORG_NAME’ defined but not used
src/Constants.h:10: warning: ‘Constants::ORG_DOMAIN’ defined but not used
src/Constants.h:12: warning: ‘Constants::EMAIL’ defined but not used
make: *** [build/obj/MainWindow.o] Error 1