Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Qt newbie-compile-Qt-sources: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Simplify punctuation)
(Nominated for deletion)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
{{Delete|reason=No useful content. Incomplete try to duplicate the official documentation.}}


this page describes in details how to compile Qt sources. In fact, it is not hard if you follow the step accurately.
this page describes in details how to compile Qt sources. In fact, it is not hard if you follow the step accurately.

Revision as of 22:41, 23 March 2016

This article is nominated for deletion. Reason: No useful content. Incomplete try to duplicate the official documentation.
Please raise your support/opposition to this nomination in the article's discussion page.

this page describes in details how to compile Qt sources. In fact, it is not hard if you follow the step accurately.

What are the advantages to compile Qt by myself ?

  • 1. if you are a newbie like me two weeks ago, then you will agree that already released executable files may creates slight problems and then, discouraged you will leave a powerfull framework like Qt. It is just because if Qt is compile with certain type of material, it will be available only for the type of material used for the compilation, ok and your personal computer is probably different to the one used to compile Qt sources.
  • 2.You will have Qt sources on your local hard drive. Only by looking the sources of Qt can you learn c++ deeply.

what do I need ?
*1 a recent c++ compiler like mingw 4.6 or 4.7 or more recent : visit mingw website [sourceforge.net]
*2 Qt sources available here [qt.io]
*3 Perl version 5.12 or later [1]
*4 Python version 2.7 or later [2]
*5 Ruby version 1.9.3 or later [3]

let's go !

One thing to consider in the c/c++ developpement is the choice of the compiler. For my part i use mingw32 on windows 7.

First : start->search option ->"cmd"
if you use xp : start->run->"cmd"

  • " " means to be tape on keyboard
    in the cmd window, tape the following : "cd path to your qt-everywhere-src"
    and then tape : "configure -prefix