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 do I configure Linux Qt 5.4.1 for Windows target?
Forum Updated to NodeBB v4.3 + New Features

How do I configure Linux Qt 5.4.1 for Windows target?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 625 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.
  • H Offline
    H Offline
    harveyab
    wrote on last edited by
    #1

    I downloaded and installed Qt 5.4.1 (Community) on my Linux Mint 16 Computer. Tried an example which worked correctly.

    Then I wanted to configure it to cross compile for the Win32 platform. I have not been able to figure out how to get that to work.

    I attempted to download the MinGW compiler following instructions I found at: How do I configure Qt for cross-compilation from Linux to Windows target? I used MXE at: http://mxe.cc/ but the version was different from the documentation on either site (I think). Qt did not find the compiler, so I tried to configure it manually, but have no idea how to finish that.

    I don't know the path to the MinGW compiler, what the executable filename is, or if that got installed correctly, or if I need it.

    I have looked at numerous other posts about configuring Qt kits, but nothing makes sense or matches what I have.

    How can I configure it for a target platform of 32-bit Windows?

    My computer is a Gateway 64-bit machine with a quad core Intel processor and my Linux Mint 16 is the 32-bit version.

    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      For Windows binaries, it's best to compile on Windows directly - much less hassle.

      You do need the MinGW compiler, and you need to know the path to it. Then you need to cross-compile Qt itself using that compiler. You need a clean copy of Qt source code (not from Qt Maintenance Tool!)..

      (Z(:^

      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