Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-433

Cannot create WEC2013 ARM Project usign VS Addin

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 2.0.0
    • General
    • 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:

      1. Install a Qt Windows ARM version
      2. Add Qt Windows ARM version using "Qt VS TOOLS/Qt Options"
      3. Create a new Qt Console Application project
      4. 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 ==========

      5. Use "Configuration Manager" to add a new ARM solution platform.
      6. 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.

      7. Use the "Qt Project Settings" dialog to change the "Version" to the Qt ARM version
      8. 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mecfc Miguel Costa
              stan.m Stanley Morris
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes