Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

DLL Template for Qt Creator

Post any examples or modules that you want to share here

DLL Template for Qt Creator

Postby MyCo » 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.
Attachments
ExampleDll.zip
(409.37 KiB) Downloaded 1202 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: DLL Template for Qt Creator

Postby DjMmix » Thu Dec 19, 2013 8:39 pm

thx myco :)
DjMmix
 
Posts: 16
Joined: Wed Nov 09, 2011 8:02 am
Location: france

Re: DLL Template for Qt Creator

Postby Nubeat7 » Thu Dec 19, 2013 8:57 pm

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
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: DLL Template for Qt Creator

Postby MyCo » Sat Dec 21, 2013 2:20 pm

I don't use QT for the DLL, so there is no license issue. Qt Creator acts only as IDE for GCC, nothing else.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany


Return to User Examples

Who is online

Users browsing this forum: No registered users and 22 guests