Unsolved compile QT 5.8 raspberry OK, work but i can't deploy qt project
-
@kickoune103 Those errors look like you are mixing 2 different Qt versions. You have a system Qt version that is interfering with your custom built one.
There have been tons of posts on these forums with people having that same issue (specifically with a Pi). I have been involved in most of those posts and most were solved.
Do a quick search or maybe even look through my post history and you should find them and their solutions. But basically it's exactly what I said above. You have to either isolate your build from your system level Qt or uninstall it. Then make sure you run a completely clean build (from a clean tar/gz extract) and you should be good.
-
i search since lot of months, i have post few messages in multiple forum........
all the time the make clean not work for me when i change ./configurei prefer delete folder and reextract qt source.
you must execute make clean after.? -
i will try
sudo apt-get uninstall libqt5*i don't understand all the time i will run this for build qt.
i have qt creator for create my application.i must install this after...
before i use other toolchain github/raspbi/tools.
-
no problems.
-
i'm sure that the qt folder is clean....
-
@kickoune103 There is an easy way to always have clean Qt sources: do out of source builds.
Explanation:mkdir ~/qt_build cd ~/qt_build PATH_TO_QT_SOURCES/configure... make make install
If you do it this way your Qt sources will be untouched.
Did you modify any environment variables like PATH and LD_LIBRARY_PATH? -
no when i retry a new build.
i will delete folder, and re extract source, browse in and "make".
-
@kickoune103 said in compile QT 5.8 raspberry OK, work but i can't deploy qt project:
i will try
sudo apt-get uninstall libqt5*i don't understand all the time i will run this for build qt.
i have qt creator for create my application.i must install this after...
before i use other toolchain github/raspbi/tools.
can you explain but solution in topic is delete remove libQT5.
qt5 is installed in my machine for deploy application so the solution is bad. -
https://forum.qt.io/topic/75682/has-anyone-successfully-built-qt-from-source-recently-on-a-pi/20
Check my second to last post in this topic. It has all the info you need to make sure your command uses the copy of Qt that you want and does not mix it with your system Qt.
I've answered this at least 10 times in the last few months, so sorry for the link instead of just typing it all out again. It gets old. :)
-
Remove your existing icu libs in raspberry PI. Download icu libs source and compile it from your PI.