Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How build QT 5.11.0 desktop with MSVC2017 ARM64 compiler?
Forum Updated to NodeBB v4.3 + New Features

How build QT 5.11.0 desktop with MSVC2017 ARM64 compiler?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Miyu
    wrote on last edited by
    #1

    Using MSVC 2017 15.7.3 arm64 console to compile qt 5.11.0,

    "c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsamd64_arm64.bat
    configure.bat -confirm-license -opensource -release -static -force-debug-info -prefix d:/QT/5.11_bin_static_arm64 -nomake examples -nomake tests -opengl dynamic -platform win32-msvc
    nmake

    Then I saw a dialog shows "D:\QT\5.11_src\qtbase\bin\qmake.exe is not a correct Win32 application".

    After check it, the qmake.exe is ARM64 exe.

    How can I build it to support ARM64 Windows Desktop?

    A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Sounds like you would rather have to do a cross-compilation setup for your needs. I'd recommend asking that on the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • M Miyu

        Using MSVC 2017 15.7.3 arm64 console to compile qt 5.11.0,

        "c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsamd64_arm64.bat
        configure.bat -confirm-license -opensource -release -static -force-debug-info -prefix d:/QT/5.11_bin_static_arm64 -nomake examples -nomake tests -opengl dynamic -platform win32-msvc
        nmake

        Then I saw a dialog shows "D:\QT\5.11_src\qtbase\bin\qmake.exe is not a correct Win32 application".

        After check it, the qmake.exe is ARM64 exe.

        How can I build it to support ARM64 Windows Desktop?

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @Miyu said in How build QT 5.11.0 desktop with MSVC2017 ARM64 compiler?:

        -platform win32-msvc

        So you need to cross compile to do that if your build system is not an ARM64 VS2017 desktop environment. With that option above you are telling it to use the x86 VS2017 platform which won't be compatible.

        There are lots of posts with cross compiling examples on the forums here. Most have to do with Raspberry Pi's and such but it will give you the idea on how to do this.

        Now whether Qt supports that configuration or not I have no idea. That's why @SGaist suggested you contact the mailing list. :)

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved