[SOLVED] How to install precompiled Qt4?
-
wrote on 29 Jan 2014, 14:36 last edited by
Hello,
Another team send me precompiled Qt 4.8.5. So I have to install and use it.
It was precompiled using MSVC compiler. So I have installed MS Visual Studio 2010 to get the compiler, Windows SDK 7.1 to get the tools, read some docs about how to compile Qt, but I don't understand what I miss.
It seems I have to run some command with nmake to install (QtCreator tells I have to run "make install").
So I open SDK command prompt, navigate to Qt base directory. I have the following subdirectories: bin, include, lib. Is this correct? Am I sure Qt has been compiled?nmake cannot find "install" target if running "nmake install". I've read about "nmake -f ns\ntdll.mak install".
Thanks for directions
-
Hi and welcome to devnet,
If that version of Qt was compiled by that team, you have to have the exact same setup on your computer has they have so:
- Same version of Visual Studio (service pack included)
- Qt in the exact same folder as they have
-
wrote on 30 Jan 2014, 09:08 last edited by
Thank you I will ask them about folder name and post again when everything is OK.
-
wrote on 30 Jan 2014, 10:24 last edited by
They answered me that I have to create a qt.conf file in %QTDIR%\bin (where qmake.exe resides) and define my own path:
@[Paths]
Prefix=C:/Qt/qt4.8.5_64bit_vs2010@but I still get the "don't how to make 'install'" when running "nmake install" from Qt directory.
-
If you have a pre-built package, I guess you don't have the sources nor the Makefiles, so you can't just call "nmake install".
Anyway, if the other team have it up and running like that, ask them to come over at your desk and install it for you
-
wrote on 31 Jan 2014, 07:54 last edited by
I just found it that when Prefix is correctly set in %QTDIR%\bin\qt.conf, QtCreator correctly finds the Qt version :-)
@[Paths]
Prefix=C:/Qt/qt4.8.5_64bit_vs2010@ -
wrote on 4 May 2014, 11:41 last edited by
I m interested in your precompile version, is it possible to send it to me?
thanks you
-
wrote on 16 May 2014, 06:50 last edited by
Hi Falconmaverick, sorry for the very long reply delay. I've shared it here: https://dl.dropboxusercontent.com/u/48555221/qt4.8.5_64bit_vs2010.zip
-
wrote on 18 May 2014, 20:41 last edited by
postb99: thanks you