Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9123409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:19:57+00:00 2026-06-17T06:19:57+00:00

I wanted to migrate my Qt 4 app to use Qt 5 instead. These

  • 0

I wanted to migrate my Qt 4 app to use Qt 5 instead. These instructions failed, due to some differences with how MXE builds Qt 5, including the fact that it uses modularised Qt tarballs, instead of one large tarball.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:19:58+00:00Added an answer on June 17, 2026 at 6:19 am

    Here are the full instructions:

    • Get it:

      git clone https://github.com/mxe/mxe.git
      
    • Install build dependencies

    • Build Qt 5 for Windows:

      cd mxe && make qtbase
      

      This will first build its dependencies and the cross-build tools;
      It should take less than an hour on a fast machine with decent internet access.

      Due to the new modular nature of Qt 5, various major Qt components are now in different tarballs. The one selected above, qtbase, should give you enough functionality to run ordinary GUI apps, which is all I needed for my own (smallish) app.

      If you want to build all of Qt 5 instead, you’ll need to run make qt5 (instead of make qtbase). Note that it will take a lot longer to complete, so be sure that you need the extra functionality.

    • Get to the directory of your app, and run the Qt Makefile generator tool:

      <mxe root>/usr/bin/i686-w64-mingw32.static-qmake-qt5
      
    • Build your project:

      make
      
    • You should find the binary in the ./release directory:

      wine release/foo.exe
      

    Some notes:

    • This was tested on my 64-bit Debian 8, and on Windows of course.

    • The output is a 32-bit static executable, which will work well on 64-bit Windows.

    • If you want a 64-bit executable, build Qt with:

      make MXE_TARGETS=x86_64-w64-mingw32.static qtbase
      

      The default MXE_TARGETS value is i686-w64-mingw32.static.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We had a ClearCase Server in an other domain. We wanted to migrate a
I wanted to use 6 different textures on a cube, one per side, but
I wanted to migrate my production MySQL database to any other RDBMS. Someone suggested
I have a class library built on .net 3.5, I wanted to use it
Wanted to create a fun app with photo. This is the scenario: I have
I wanted to migrate Compiz's Window Picker function to XFCE environment , so i
I ran into a peculiar problem today when I wanted to migrate the history
For my django1.4 app,I am trying to use south to do migration of data.I
We are trying to migrate a legacy intranet ASP .NET web app from Forms
Some time ago i wanted to play with Google Appengine and I made a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.