For making a very simple Qt app "installable" on other systems, I'm using Qt Installer Framework following this link .
In bottom, in Setting up Qt Installer Framework , number 1 orders to have Qt Installer Framework source code . I downloaded it from here . ( qt-installer-framework-opensource-2.0.1-src.zip )
Now I don't understand the next instruction there :(
It says:
2- Build the tools by running the "qmake" from the static Qt, followed by "make" or "nmake".
My question is, first what does it mean?
And from what path?
I don't know how to do it:(
qmake comes with the qt-framework and is a make file generator. (an alternative to cmake). You call qmake on a .pro
file from your project. This .pro
file have to contain your source code files project dependencies and more.
Consider that you have a project folder with your source code and the .pro file. Then you call the qmake
command in this folder. qmake is an program itself, which you can find in the bin folder of your qt-installation. If qmake is in your path variable, you go to the terminal, navigate to the specific folder and just write:
qmake
After that qmake will create a makefile. Then you could call make
and your program will be build.
I hope my answer helps you. You can learn more about qmake on the website of Qt . Here is also a very good qmake tutorial: klick
edit:
how to call make on windows: download and install cygwin from
http://www.cygwin.com/setup-x86.exe - 32 bit installer or
http://www.cygwin.com/setup-x86_64.exe - 64 bit installer.
then start the Cygwin terminal (Cygwin.bat) and navigate to your folder and call
make
and that will build your qt-installer!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.