Compiler cannot produce code for Qt version (Raspberry Pi 4)
-
Hi guys I'm getting this error on my vm where I'm running qt creator. The project used to build fine 2 days ago, until I accidentally changed one of the project files.
Now I get this error whenever I try to build it. I've tried changing the Qt version to all of the ones installed, but they all give the same error as shown.
-
Hi guys I'm getting this error on my vm where I'm running qt creator. The project used to build fine 2 days ago, until I accidentally changed one of the project files.
Now I get this error whenever I try to build it. I've tried changing the Qt version to all of the ones installed, but they all give the same error as shown.
@NewQtLearner It looks like you're trying to use Qt built for x86_64 which can't be used on ARM. You need Qt cross-compiled for RPi. See https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
-
Hi and welcome to devnet,
It seems your kit is wrong. The compiler looks good but it looks like your system's Qt is being selected rather than the one you were using before.
-
@NewQtLearner It looks like you're trying to use Qt built for x86_64 which can't be used on ARM. You need Qt cross-compiled for RPi. See https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
@jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.
Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?
-
@jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.
Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?
@NewQtLearner Go to the settings and edit the Kit for your RPi.
-
@jsulm Thanks for the reply. Unfortunately I'm using QT Creator 5.13.2. All of the guides that I've found seem to use QT creator 5.15.0 or later.
Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?
@NewQtLearner said in Compiler cannot produce code for Qt version (Raspberry Pi 4):
Any ideas on how I can change my qt version to the right one and nothing else on 15.3.2?
@SGaist answered that.
To make things clear: "QT Creator 5.13.2" - there is no such QtCreator version, what you mean is "Qt 5.13.2"...