Add a CONFIG += static in the pro-file.
Qt Designer has nothing to do with this problem, as the Designer simply creates ui-files.
Add a CONFIG += static in the pro-file.
Qt Designer has nothing to do with this problem, as the Designer simply creates ui-files.
Hi,
Thanks for your replies. I'm already using QT Creator and CONFIG += staticlib has been automatically added in my .pro files when I created the project.
Here is an extract from the .pro of my static library :
Qt Code:
TARGET = MyStaticLibrary TEMPLATE = lib CONFIG += staticlibTo copy to clipboard, switch view to plain text mode
I use mingw and g++ that are provided with QTCreator under windows platforms.
Bookmarks