Qt Creator

Okay so recently I started learning C++ and I decided to use Qt Creator as my IDE though I'm havining a BIG problem. I've coded my application and it compiles fine. But... How do I acctually get the exe. Like how do a export a single exe to my desktop to run it.
Last edited on
Just go to ProjectFolder->bin->Debug or Release->Project.exe

Though with Qt you will also need the .dll's I don't think you are allowed to statically link Qt.
Last edited on
Yeah I fixed this problem though I don't think I'll work with Qt. Mainly because its illegal to statically link so how are you supposed to get your exe?

For anybody wondering I went to:
C:\Qt\5.2.1\mingw48_32\mkspecs\win32-g++\

By the way replace win32-g++ with your compiler and 5.2.1 is the Qt version.

I then opened the qmake.conf file with notepad and scrolled down to some text called:
QMAKE_LFLAGS =
I changed it to:
QMAKE_LFLAGS = -static
Next I ran Qt Creator and built it as Release and I got a exe which I could move to my desktop and ran perfectly.
Topic archived. No new replies allowed.