I made some progress with Qt build.
Error:
make[1]: /usr/lib/i386-linux-gnu/qt5/bin/lrelease: Command not found
Solution
sudo apt-get install qttools5-dev-tools
----------------------
Error:
../native/base/QtMain.cpp:8:30: fatal error: QtGui/QApplication: No such file or directory
Solution:
su
cp -R /usr/include/qt4/QtGui/QApplication /usr/include/qt5/QtGui/
----------------------
Error:
../native/base/QtMain.h:9:24: fatal error: QAudioOutput: No such file or directory
Solution:
sudo apt-get install qtmobility-dev
sudo apt-get install libdeclarative-multimedia
edit PPSSPP.pro
Add:
INCLUDEPATH += /usr/include/QtMultimediaKit
INCLUDEPATH += /usr/include/QtMobility
------------------
Now I need to solve this error:
Code:
cyclonmaster@cyclonmaster-PC:~/ppsspp/Qt$ rm Makefile*
rm: cannot remove ‘Makefile*’: No such file or directory
cyclonmaster@cyclonmaster-PC:~/ppsspp/Qt$ qmake PPSSPPQt.pro && make
( test -f Makefile.Native || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Native.pro -o Makefile.Native ) && make -f Makefile.Native
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.Core || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Core.pro -o Makefile.Core ) && make -f Makefile.Core
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.Common || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Common.pro -o Makefile.Common ) && make -f Makefile.Common
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.PPSSPP || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/PPSSPP.pro -o Makefile.PPSSPP ) && make -f Makefile.PPSSPP
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -Wall -W -D_REENTRANT -fPIE -DUSING_QT_UI -DQT_HAS_SDL -D_GNU_SOURCE=1 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/QtMultimediaKit -I/usr/include/QtMobility -I../ext/zlib -I../native/ext/glew -I../Common -I.. -I../Common -I../native -I../Qt -I/usr/include/SDL -I/usr/include/qt5 -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Imoc -Iui -o QtMain.o ../native/base/QtMain.cpp
In file included from ../native/base/QtMain.cpp:18:0:
../native/base/QtMain.h: In constructor ‘MainUI::MainUI(float, QWidget*)’:
../native/base/QtMain.h:57:16: error: ‘WA_LockLandscapeOrientation’ is not a member of ‘Qt’
../native/base/QtMain.cpp: In function ‘int main(int, char**)’:
../native/base/QtMain.cpp:78:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
make[1]: *** [QtMain.o] Error 1
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
make: *** [sub-PPSSPP-pro-make_first-ordered] Error 2
cyclonmaster@cyclonmaster-PC:~/ppsspp/Qt$