T
T
tucnak2011-08-02 22:06:04
Qt
tucnak, 2011-08-02 22:06:04

Building Qt from source?

Warnings
Please do not throw me out on Google, I've already been there. I have never compiled Qt before.
Realization
Two days ago I realized that I needed to build my Qt applications statically. I've been tolerating these dlls for a long time... but my patience has run out. Rather, not patience, I have the task of building a standalone application.
My guesses
I know a little and read a lot. The result is the following algorithm:

  1. Download Qt for Open Source C++ development on Windows. link
  2. Download MinGW. link
  3. Unpack sources and MinGW to 'C:/Qt' folder
  4. Push MinGW into 'Qt:/Qt/[sources]/mingw'
  5. Run 'configure.exe' with switches -static -debug-and-release -no-qt3support -no-exceptions
  6. Run 'mingw32-make.exe' with sub-src command
  7. Screw Qt Creator

My Questions
I am concerned about Qt Command Prompt. I can't find it anywhere in the source. It turns out that I need to set all the environment variables myself? Or are there other ways? You can write specifically stage 4-6 (from my list) as for a moron :).
And how to fasten Qt Creator? Is it enough just to download the binary and install it somewhere in the share? Or do I need to stir up something additionally
PS I know the noob question, but please do not downvote. And if possible, even plus :)
Waiting for answers, thanks.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kharvd, 2011-08-03
@kharvd

It is possible to ask, than dll'ki interfere? What will hang outside will be ~ 15 MB, what will hang inside.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question