DLL Template for Qt Creator
Posted: Thu Dec 19, 2013 1:49 am
Here is the example DLL project converted into a Qt Creator project. Nothing fancy.
For the newbies:
Get a Qt package (which contains Qt Creator) here:
http://qt-project.org/downloads
Make sure you select the Windows 32-bit version with MinGW (and not VS)
Start Qt Creator and setup your default project folder.
Extract the attached zip file into your Qt project folder.
In Qt Creator go to File -> Open and then go into the ExampleDLL folder and select the ExampleDLL.pro
Then you'll be asked to setup the compiler output folders. You don't have to change them. But look at the paths and keep them in mind, then hit "configure project" (or whatever it is called in your language)
Now the project should be fully loaded and you can click on the hammer symbol on the bottom left (or press CTRL+B). When everything is alright, you shouldn't see anything poping up, only a green bar at the left.
Now go to the compiler output directory (per default it's the debug directory), there should be the DLL in either the "debug" or "release" sub directory.
Have fun.
PS: I used an older version of Qt Creator... but shouldn't matter.
For the newbies:
Get a Qt package (which contains Qt Creator) here:
http://qt-project.org/downloads
Make sure you select the Windows 32-bit version with MinGW (and not VS)
Start Qt Creator and setup your default project folder.
Extract the attached zip file into your Qt project folder.
In Qt Creator go to File -> Open and then go into the ExampleDLL folder and select the ExampleDLL.pro
Then you'll be asked to setup the compiler output folders. You don't have to change them. But look at the paths and keep them in mind, then hit "configure project" (or whatever it is called in your language)
Now the project should be fully loaded and you can click on the hammer symbol on the bottom left (or press CTRL+B). When everything is alright, you shouldn't see anything poping up, only a green bar at the left.
Now go to the compiler output directory (per default it's the debug directory), there should be the DLL in either the "debug" or "release" sub directory.
Have fun.
PS: I used an older version of Qt Creator... but shouldn't matter.