Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38223

IDC cannot be built on host - Cross-Compile for MinGW on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.1
    • ActiveX Support
    • None
    • ./configure -v -opensource -confirm-license -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32- -no-compile-examples && make

      When cross compiling for a windows target on a unix host, build of idc fails.

      Reason: idc is a windows-only tool, it requires windows but in qtactiveqt/src/tools/idc/idc.pro the first line is:

      option(host_build)

      This line is wrong, please remove it!

      So, idc must be built on the target (windows) platform, not on the host platform.

      I removed this line, then successfully cross-compiled "qtactiveqt" on Ubuntu 13.10 Linux, but faild in directory test (so I ended up with option "-skip qtactiveqt").

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

            kleint Friedemann Kleint
            mrw Marc Wäckerlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes