[TUTO] Build Qt to cross compile for arm
-
wrote on 12 Sept 2019, 10:53 last edited by
Hi,
I am not understood that fourth step,
Go to /home/<yourUserName>/
Execute this command to install Qt in the /usr/local/Qt-4.8.5-arm/ directory : ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm -embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++
qt-everywhere-opensource-src-4.8.5/why beacuse,when i go /home/<username> there is no such file called (this present in installQt directory) and in /usr/local also not present the Qt-4.8.5
anyone help how to processed next..
thankyou -
Hi,
I am not understood that fourth step,
Go to /home/<yourUserName>/
Execute this command to install Qt in the /usr/local/Qt-4.8.5-arm/ directory : ./configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm -embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++
qt-everywhere-opensource-src-4.8.5/why beacuse,when i go /home/<username> there is no such file called (this present in installQt directory) and in /usr/local also not present the Qt-4.8.5
anyone help how to processed next..
thankyou@asha You should not copy the steps exactly, you have to adapt them to your environment:
Go to /home/<yourUserName>/ - this means go to your home directory
Qt-4.8.5 - change that to the Qt version you want to compile. -
wrote on 12 Sept 2019, 12:31 last edited by
Sir,
I have uninstalled everything(which means cross compiler and my first qt version)
now i followed the steps,as said in above..
so now I am not getting where to execute.
can I execute where i am getting the configure file.
-
Sir,
I have uninstalled everything(which means cross compiler and my first qt version)
now i followed the steps,as said in above..
so now I am not getting where to execute.
can I execute where i am getting the configure file.
@asha said in [TUTO] Build Qt to cross compile for arm:
so now I am not getting where to execute
execute what? configure?
"can I execute where i am getting the configure file" - configure file is part of Qt source code. So, download Qt source code, extract it to a directory, go to that directory and execute configure there... -
wrote on 12 Sept 2019, 13:18 last edited by
-
wrote on 13 Sept 2019, 04:47 last edited by
Hi,
Any suggestions,
-
@asha Please show how you call configure.
Also, it is better to post text instead of screen-shots... -
wrote on 13 Sept 2019, 07:17 last edited by
-
@asha Please show how you call configure.
Also, it is better to post text instead of screen-shots... -
wrote on 16 Sept 2019, 06:49 last edited by
Hi,
Can anyone say,
what it does: fourth step
."/configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm -embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++"
specially this part "embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++"
because,
I downloaded qt src code 5.7.1 and arm-linux-gnueabihf-gcc 6.5.0, and I found my qmake.conf file in "/home/<username>/Downloads/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-arm-gnueabi-g++"
So,now I need to configure,not getting the above path,I don't have qws directory,
can I give just ./configure for configuration?
-
Hi,
Can anyone say,
what it does: fourth step
."/configure -opensource -confirm-license -prefix /usr/local/Qt-4.8.5-arm -embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++"
specially this part "embedded arm -little-endian -no-pch -xplatform qws/linux-arm-gnueabi-g++"
because,
I downloaded qt src code 5.7.1 and arm-linux-gnueabihf-gcc 6.5.0, and I found my qmake.conf file in "/home/<username>/Downloads/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/linux-arm-gnueabi-g++"
So,now I need to configure,not getting the above path,I don't have qws directory,
can I give just ./configure for configuration?
-
wrote on 25 Oct 2021, 00:20 last edited by
-
ERROR: Unknown command line option '-embedded'.
I'm getting an error, can you take a look?wrote on 25 Oct 2021, 19:21 last edited by@IknowQT said in [TUTO] Build Qt to cross compile for arm:
ERROR: Unknown command line option '-embedded'.
You were already told to remove such option in this post.
Please don't double post, just follow one thread with your issue.
-
wrote on 20 Jan 2023, 12:49 last edited byThis post is deleted!
-
wrote on 1 Feb 2024, 07:10 last edited by
Getting Error : The errors we are encountering seem to be related to missing member variables and functions in the Ui::QPrintWidget and Ui::QPageSetupWidget classes, which are generated by Qt's User Interface Compiler (uic) based on .ui files. How to solve it ?
-
Getting Error : The errors we are encountering seem to be related to missing member variables and functions in the Ui::QPrintWidget and Ui::QPageSetupWidget classes, which are generated by Qt's User Interface Compiler (uic) based on .ui files. How to solve it ?
@Abhijeet-0 Please provide more information:
- Relevant code
- Pro/CMakeLists.txt file
- Exact error messages
- Qt version
-
@Abhijeet-0 Please provide more information:
- Relevant code
- Pro/CMakeLists.txt file
- Exact error messages
- Qt version
wrote on 1 Feb 2024, 07:55 last edited by@jsulm Version: QT 4.8.5
ARM Compiler : ARM Compiler
Whenever execute : make -j9 ARCH=arm CROSS_COMPILE=home/odroid/installQt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-
Error Come : ^
make[1]: *** [Makefile:132921: .obj/release-shared-emb-arm/qpagesetupdialog_unix.o] Error 1
make[1]: *** [Makefile:135029: .obj/release-shared-emb-arm/qfiledialog.o] Error 1
make[1]: Leaving directory '/home/odroid/installQt/qt-everywhere-opensource-src-4.8.5/src/gui'
make: *** [Makefile:385: sub-gui-make_default-ordered] Error 2 -
@jsulm Version: QT 4.8.5
ARM Compiler : ARM Compiler
Whenever execute : make -j9 ARCH=arm CROSS_COMPILE=home/odroid/installQt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-
Error Come : ^
make[1]: *** [Makefile:132921: .obj/release-shared-emb-arm/qpagesetupdialog_unix.o] Error 1
make[1]: *** [Makefile:135029: .obj/release-shared-emb-arm/qfiledialog.o] Error 1
make[1]: Leaving directory '/home/odroid/installQt/qt-everywhere-opensource-src-4.8.5/src/gui'
make: *** [Makefile:385: sub-gui-make_default-ordered] Error 2@Abhijeet-0 said in [TUTO] Build Qt to cross compile for arm:
make[1]: *** [Makefile:132921: .obj/release-shared-emb-arm/qpagesetupdialog_unix.o] Error 1
Please post actual error which are somewhere above this line...
Is there a reason why you're using this ancient Qt version? -
@Abhijeet-0 said in [TUTO] Build Qt to cross compile for arm:
make[1]: *** [Makefile:132921: .obj/release-shared-emb-arm/qpagesetupdialog_unix.o] Error 1
Please post actual error which are somewhere above this line...
Is there a reason why you're using this ancient Qt version?wrote on 1 Feb 2024, 08:56 last edited by@jsulm Sorry, completely new in this filed. Wanted to work with QT Creator 4.11.0 but many file is missing in QT Creator 4.11.0 such as mkspecs, do you suggest how to do this if go with QT Creator 4.11.0.
And secondly, please find error screenshot here.
Can you please guide to exact direction without errors ?
-
@jsulm Sorry, completely new in this filed. Wanted to work with QT Creator 4.11.0 but many file is missing in QT Creator 4.11.0 such as mkspecs, do you suggest how to do this if go with QT Creator 4.11.0.
And secondly, please find error screenshot here.
Can you please guide to exact direction without errors ?
wrote on 1 Feb 2024, 09:27 last edited by@Abhijeet-0 Error is very large. So shared screenshoot. Unable to copy and paste text error due to virtual machine limitation.