PDA

View Full Version : How to install QtSDK and QtCreator?



devwatch
10th November 2012, 20:14
Hi Folks!

After a new Installation of my Windows PC i had to reinstall Qt. I went to http://qt.digia.com/ and saw damn, all goes commercial there!
Ok, i figure out that it is possible to download Qt over qt-project.org > Download SDK. So i went there an saw no more Full Installer....what happen there?

I download the Latest QtSDK 4.8.3 (MINGW) and install it. During Installation the Setup ask me for al valid Installation of MINGW ok,
i install MINGW with the MINGW Webistaller of Sourceforge. After that i select the MINGW Folder and the Setup continues.

After Installation is saw no QtCreator, i wonder again and take a further look at qt-project.org. Ok, i have to download QtCreator seperatly.
I do this an install the Version 2.6.

When this was done i started the Creator an load a Demo Appilcation. I compile with an Error 2....what's that? I tooked a Look in the Project Folder and saw that the compile was done
but the Programm would not start out of the Creator.

Did anyone know what's wrong with the Installation. I don't really know how to install the SDK correct and wich Version to choose...

Please help me!
Best Regards

Zlatomir
10th November 2012, 20:29
There is a link there to Nokia's developer (http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html) website saying that the sdk can be found there.

But the SDK hasn't been updated lately so maybe a good ideea you should install a new version from qt-project.org (http://qt-project.org) download section, manually install Creator, MinGW (or another compiler) and setup everything until Digia release an updated Qt SDK.

devwatch
10th November 2012, 20:39
Digia won't update or release a full package anymore. Only commercial Version!

Zlatomir
10th November 2012, 20:45
It would be pretty "stupid" not to - but anyway is not that hard to install/configure Qt (plus Creator, compiler and other needed tools) - but i really think they will make an installer for Qt.

gtnoob
12th November 2012, 16:30
Hi
I had to reinstall Qt in Windows 7 today.
I did the usual but i came up with this Error2 also!
There is someone here talking about editing the mkspecswin32-g++qmake.conf.
Where exactly is this file?

MattPhillips
12th November 2012, 23:04
The directory mkspecs is in your Qt home directory. win32-g++ is a subdirectory thereof. Please post the results if you manage to compile Qt with MinGW, I've been working on that too.

CautiouslyOptimistic
13th November 2012, 04:52
Preface: I'm an absolute beginner both at Qt and programming in general.

Output representative of the problem (tried to build and run "Animated Tiles" example):

23:49:53: Running steps for project animatedtiles...
23:49:53: Configuration unchanged, skipping qmake step.
23:49:53: Starting: "C:\MinGW\bin\mingw32-make.exe"
C:/MinGW/bin/mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Qt/4.8.3/examples/animation/animatedtiles-build-Desktop-Release'
bin\rcc.exe -name animatedtiles ..\animatedtiles\animatedtiles.qrc -o release\qrc_animatedtiles.cpp
mingw32-make[1]: Leaving directory `C:/Qt/4.8.3/examples/animation/animatedtiles-build-Desktop-Release'
process_begin: CreateProcess(NULL, bin\rcc.exe -name animatedtiles ..\animatedtiles\animatedtiles.qrc -o release\qrc_animatedtiles.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [release/qrc_animatedtiles.cpp] Error 2
mingw32-make: *** [release] Error 2
23:49:53: The process "C:\MinGW\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project animatedtiles (target: Desktop)
When executing step 'Make'


Hope this helps - I'd love to see a fix.

gtnoob
13th November 2012, 21:18
Is it possible that this is related with the MinGw version?
Tomorrow i will try older versions just in case.

CautiouslyOptimistic
14th November 2012, 17:41
Looks like the problem is coming from an incorrect path for rcc.exe:

https://bugreports.qt-project.org/browse/QTBUG-27237

https://bugreports.qt-project.org/browse/QTBUG-27244

I'll play with it more later today.

Added after 4 minutes:

In other words, I'm going to bump up to version 5 beta and see if the problem is still there.

CautiouslyOptimistic
15th November 2012, 01:28
Well, Nope - no Qt5 for MinGW. Trying msvc2010 for now. I just want this to work without spending 90% of my time sifting through bug reports.

marcot
24th November 2012, 17:48
Yes, it seems it was a deliberate choice to make installation of QT SDK (libraries + creator) a source of massive grief for all non paying users (at least for windows).

That's really a pity. In the past years, I employed QT in my programming labs at my uni... not anymore.
I can't ask students to go through all that mess. From this year, I will teach on a different IDE and different event-based libraries!

wysota
4th December 2012, 10:09
I have temporarily put the installer for QtSDK on Qt Centre, it can be accessed here: http://www.qtcentre.org/QtSdk-online-win-x86-v1_2_1.exe

There is no need for harsh moves. As far as I managed to read, QtSDK will come back when Qt5 is released and Digia updates it for Qt5.

The SDK itself is available on gitorious (http://qt.gitorious.org/qtsdk) so one can monitor progress on his own. Remember that QtSDK is a relatively new product and before it was released people had to install Creator and the libraries separately, just like now. The only difference was that the Windows package had an option to download and install MinGW automatically (I don't know if it's still the case).