[Qt-creator] using Qgis with Qt Creator IDE on Widows

Ernst Huber swmail01 at systest.ch
Wed Jun 17 17:33:26 CEST 2009


abir rezgui schrieb:
> Hello
>
> I have to display a geographic card using Qt/C++. I tried a sample 
> code using the Qt Creator IDE. Now I didn't find how to compile my 
> code correctly on this IDE on Windows OS. I tried to use the 
> addLibraryPath method to include the headers of Qgis but it didn't 
> work. Does any body know how to fix this problem please?
>
> Thanks
>
> -- 
> Abir Rezgui
> -----------------------
> Elève Ingénieur à l'Ecole Nationale des Sciences Informatiques ( ENSI )
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>   
Hello Abir

Including headers is usually done with the

#include <someheaderfile.h>

compiler directive!

The addLibraryPath can be used to add, as it says, the path to shared 
libraries (under Windows the so called DLL's) so a program finds them at 
run-time,  this function has nothing to do with the compiler!


Regards
Ernst





More information about the Qt-creator-old mailing list