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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • 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

    Description

      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").

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes