Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cross-compiling 5.7 on Windows Error
Forum Updated to NodeBB v4.3 + New Features

Cross-compiling 5.7 on Windows Error

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 597 Views 1 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.
  • O Offline
    O Offline
    ocankaya
    wrote on last edited by
    #1

    I want to cross compile Qt for my RPi 3 on Widnows and I'm a little stuck at step 12 right now. I tried this guide but had some issues at step 12.

    step 12 : Now we can build the Windows tools. Create a directory (e.g. qt-build) and run the configuration script from there:
    ../qt-everywhere-opensource-src-5.5.0/configure -platform win32-g++ -xplatform linux-arm-gnueabi-g++ -release -opengl es2 -device linux-rasp-pi2-g++ -sysroot C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -prefix /usr/local/qt5

    Error: KEY_WOW64_32KEY);
    ^
    make: *** [msvc_vcproj.o] Error 1

    Thanks for helps.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Frisa
      wrote on last edited by Frisa
      #2

      Hello ocankaya

      I had the same problem like you described. I was building the Qt 5.7.1. from the GIT using the MinGW32 compiler on the x64 host computer. After search on the google I found following: From the x32 copilation there is no access to the x64 keys, as described here: https://social.msdn.microsoft.com/Forums/en-US/92f962d6-7f5e-4e62-ac0a-b8b0c9f552a3/issue-reading-x64-registry-keys?forum=netfx64bit
      . So I supposed that the MinGW x64 should solve the problem. After I used the MinGW compiler from the following link: https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/x64-4.8.1-release-posix-seh-rev5.7z/download
      and updated the path to bin folder in the PATH env varaible the compilation runs perfekt. I also needed to clean the build before the configuration with this command: *git submodule foreach --recursive "git clean -dfx"**.
      I hope it helps, please feel free to correct me if I did/understand something wrongly

      1 Reply Last reply
      1
      • O Offline
        O Offline
        ocankaya
        wrote on last edited by
        #3

        thank you. i will try

        1 Reply Last reply
        0

        • Login

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