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 qt5 -platform win32-g++ -xplatform linux-arm-gnueabi-g++. It works on windows ?
Forum Updated to NodeBB v4.3 + New Features

Cross compiling qt5 -platform win32-g++ -xplatform linux-arm-gnueabi-g++. It works on windows ?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.7k 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.
  • M Offline
    M Offline
    marius.maximus
    wrote on last edited by
    #1

    At the beginning of my post write that I was able to compile Qt 5.2 in Ubuntu without any problems.
    Cross compiling works very well.

    But I have problem with windows.
    I try cross compiling qt5 -platform win32-g++ -xplatform linux-arm-gnueabi-g++

    [try_0001]
    My configure.bat and qmake.conf
    https://github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/tree/master/try_0001

    Problems:

    • configure.exe generate wrong qconfig.cpp
      No entry QT_CONFIGURE_SETTINGS_PATH and qt_configure_settings_path_str
      Compilation stops due to lack of these entries

    • qmake.exe generate wrong Makfile
      https://raw.github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/master/try_0001/out/Makefile
      TARGET = libQt5Core5.dll (linux and DLL ;))

    [try_0002]
    My configure.bat
    https://github.com/mariuszekpl/qt52-cross-compile-tegra2-windows-scripts/blob/master/try_0002/03_configure.bat
    I use orginal qtbase\mkspecs\linux-arm-gnueabi-g++\qmake.conf

    _Problems: _qmake.exe generate wrong Makefile in linux format
    (for example command "test" to check if directory exists, "rm -f" etc...)
    But make.exe in mingw/msys "spins in circles" :(

    @$ make
    make[1]: Entering directory /d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase' make[2]: Entering directory /d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase'
    ...
    make[999999]: Entering directory `/d/qt/qt52-cross-compile-tegra2-windows-scripts/qtsrc/qtbase'

    @

    Hmmm !

    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