How to install qtcreator on Linux Host PC?
-
Hi everyone;
I have adrv9361z7035 board on which I need to install qtcreator. My device has linaro linux. Inside device Qt Designer is present but qtCreator is not present how I can install qtcreator on my machine.Thanks
-
@jsulm Hi;
Thanks for your response! When I make then I got error:ijaz@ijaz-HP:~/QT_4_8_4/qt-everywhere-opensource-src-4.8.4$ make cd src/tools/bootstrap/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' cd src/tools/moc/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/moc' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/moc' cd src/tools/rcc/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/rcc' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/rcc' cd src/tools/uic/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/uic' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/uic' cd src/corelib/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/corelib' /home/ijaz/QT_4_8_4/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-gnueabihf-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -I/home/ijaz/Desktop/tslib_ins/include -o .obj/release-shared-emb-arm/qglobal.o global/qglobal.cpp In file included from global/qglobal.cpp:42:0: ../../mkspecs/qws/linux-arm-gnueabihf-g++/qplatformdefs.h:42:40: fatal error: ../linux-g++/qplatformdefs.h: No such file or directory #include "../linux-g++/qplatformdefs.h" ^ compilation terminated. Makefile:9290: recipe for target '.obj/release-shared-emb-arm/qglobal.o' failed make[1]: *** [.obj/release-shared-emb-arm/qglobal.o] Error 1 make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/corelib' Makefile:204: recipe for target 'sub-corelib-make_default-ordered' failed make: *** [sub-corelib-make_default-ordered] Error 2
thanks
-
@jsulm Hi;
Thanks for your response! When I make then I got error:ijaz@ijaz-HP:~/QT_4_8_4/qt-everywhere-opensource-src-4.8.4$ make cd src/tools/bootstrap/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' cd src/tools/moc/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/moc' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/moc' cd src/tools/rcc/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/rcc' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/rcc' cd src/tools/uic/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/uic' make[1]: Nothing to be done for 'first'. make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/tools/uic' cd src/corelib/ && make -f Makefile make[1]: Entering directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/corelib' /home/ijaz/QT_4_8_4/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++ -c -include .pch/release-shared-emb-arm/QtCore -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-gnueabihf-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -I/home/ijaz/Desktop/tslib_ins/include -o .obj/release-shared-emb-arm/qglobal.o global/qglobal.cpp In file included from global/qglobal.cpp:42:0: ../../mkspecs/qws/linux-arm-gnueabihf-g++/qplatformdefs.h:42:40: fatal error: ../linux-g++/qplatformdefs.h: No such file or directory #include "../linux-g++/qplatformdefs.h" ^ compilation terminated. Makefile:9290: recipe for target '.obj/release-shared-emb-arm/qglobal.o' failed make[1]: *** [.obj/release-shared-emb-arm/qglobal.o] Error 1 make[1]: Leaving directory '/home/ijaz/QT_4_8_4/qt-everywhere-opensource-src-4.8.4/src/corelib' Makefile:204: recipe for target 'sub-corelib-make_default-ordered' failed make: *** [sub-corelib-make_default-ordered] Error 2
thanks
@Wasee Please take time to find out how to build properly. There is INSTALL file in the source archive which points to https://doc.qt.io/archives/qt-4.8/installation.html. There you go to https://doc.qt.io/archives/qt-4.8/install-x11.html and follow the instructions.
Why don't you build latest Qt 4.8 release which is 4.8.7?