Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Build Static Qt problems
I'm trying to build an executable of my application. All the guides I have tried all have steps that don't work.
Supposedly I'm supposed to build Qt statically, and then statically build my application.
From the Qt page on deployment it says to:
But there is no configure program in Qt, nor nmake.
Is there any up to date guide on how to do this?
Code_ReaQtor last edited by
"configure" (usually "configure.bat") should be present in the source.
"nmake", on the other hand, should be present in windows with the VS compiler.
PS: (I might be wrong) Download the correct archive w/ windows line endings (usually ".zip" and NOT .tar.gz, etc.)
Also, install a VS compiler, after that use the command prompt specific for that compiler (e.g. for VS2012: start menu -> Microsoft Visual Studio 2012 -> Visual Studio Tools -> [here you'll see different command prompts]
I just redownloaded a fresh install of 5.0.2 and the only "configure" in the whole thing is a PICS rules file.
never mind, it appears theres a download option to get source, and configure is in there.
Code_ReaQtor last edited by
[quote author="qtprojusername" date="1366603487"]I just redownloaded a fresh install of 5.0.2 and the only "configure" in the whole thing is a PICS rules file.[/quote]
I have a copy of Qt 5.0.2 "qt-everywhere-opensource-src-5.0.2.zip", (just checked it a while ago) and it includes 2 "configure" (one is configure w/o any extension and the other is configure.bat).
Also, every subfolders/modules (QtBase, etc) have the same separate files within.
You might have downloaded the wrong archive or your file got corrupted during the download process. And I never saw any PICS file. Try to recheck it.
Where do you download anyway? I assume it is on the Qt-Project download page, right?
qxoz last edited by
You should build Qt from source. As i understand you download Qt SDK installer.
You can get split source packages from "here":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/submodules/. The source code is also available as a single "zip":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip (271 MB) ("Info":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip.mirrorlist) file for Windows users or as "tar.qz":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz (220 MB) ("Info":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz.mirrorlist) file for Linux/Mac users. All the installers are available also "here":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/. Or visit the repository at "qt.gitorious.org/qt":http://qt.gitorious.org/qt