DLL Template for Qt Creator

Post any examples or modules that you want to share here
Post Reply
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

DLL Template for Qt Creator

Post 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.
Attachments
ExampleDll.zip
(409.37 KiB) Downloaded 1369 times
DjMmix
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: DLL Template for Qt Creator

Post by DjMmix »

thx myco :)
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: DLL Template for Qt Creator

Post 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 :?:
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: DLL Template for Qt Creator

Post 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.
Post Reply