WinAPI with Qt
-
Thanks for link to "Declaring Other Libraries". For example if I have my project in directory
"C:\Project", and my library is "mylib.dll" I should write in .pro-file:@
LIBS += C:\Project\mylib.dll
@Is it correct?
[EDIT: code formatting, Volker]
-
Or better
@win32:LIBS += C:\Project\mylib.lib@
@unix:LIBS += $$quote(-LC:\Project) -lmylib@
-
LOL, I usually forget that there is GCC for Windows... :)
-
I use Qt Creator.
-
[quote author="RomanShteff" date="1296749017"]I use Qt Creator.[/quote]
That's the IDE, not the compiler tool chain. You can use both (VisualStudio or GCC/MinGW) with Qt Creator and your .pro file must be set up correctly for the one you use.
The default open source installation of Qt Creator/SDK for Windows comes with MinGW as far as I know.
-
Yeah, I have default open source installation. But I have .dll, not .lib
-
Thanks to all!