Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
None
-
2.0.0
-
None
-
Windows, Visual Studio 2013, i.MX6 ARM
-
85728961e1a08d2021701dcb5cbabbadd5314344
Description
Although I can add a Qt ARM version to the Qt VS Addin, there is no way to easily create a working project.
Please tell me I'm wrong about this and there really is a simple way to do it.
Steps to reproduce:
- Install a Qt Windows ARM version
- Add Qt Windows ARM version using "Qt VS TOOLS/Qt Options"
- Create a new Qt Console Application project
- Build
- Observe build failure:
1>------ Build started: Project: TestVSAddinArmProject, Configuration: Debug Win32 ------
1> main.cpp
1>Qt5Cored.lib(Qt5Cored.dll) : fatal error LNK1112: module machine type 'ARM' conflicts with target machine type 'X86'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- Observe build failure:
- Use "Configuration Manager" to add a new ARM solution platform.
- Build again
- Observe build failure:
---------------------------
Qt Visual Studio Tools
---------------------------
The following error occured:There's no Qt version assigned to this project for platform ARM. Please use the 'change Qt version' feature and choose a valid Qt version for this platform.
- Observe build failure:
- Use the "Qt Project Settings" dialog to change the "Version" to the Qt ARM version
- Build
- Observe that build error is same as in step 4 and you are in a loop and must try something different.
I manually edit the *.sln and *.vcxproj files to get my projects to build and deploy to my ARM target, but it is tedious and I am not aware of any documentation discussing how to do it.
The attached project is an example of such a case where I modified a Win32 project to build for ARM.
Attachments
Issue Links
- depends on
-
QTVSADDINBUG-739 Add support for cross compilation in VS
- Closed