Page 1 of 1

DLL Template for Qt Creator

Posted: Thu Dec 19, 2013 1:49 am
by MyCo
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.

Re: DLL Template for Qt Creator

Posted: Thu Dec 19, 2013 8:39 pm
by DjMmix
thx myco :)

Re: DLL Template for Qt Creator

Posted: Thu Dec 19, 2013 8:57 pm
by Nubeat7
thanks myco, me i`m not using Qt, but i know it is a very comfortable IDE for c++ and has great gui tools, but how is it with the licence?

if we do dlls for FS and use them for commercial projects, would it be allowed to use the free GPL v3, LGPL v2 version or ist there the commercial enterprise version needed? because nokia is not cheap here, nobody exactly knows but the cheapest offer i found was 1200 dollar for a "small" single licence :?:

Re: DLL Template for Qt Creator

Posted: Sat Dec 21, 2013 2:20 pm
by MyCo
I don't use QT for the DLL, so there is no license issue. Qt Creator acts only as IDE for GCC, nothing else.