View Full Version : build exe with static lib
waiter
20th June 2013, 04:03
hello,
I find qt has static lib , C:/Qt/4.8.4/lib/libQtGuid4.a
, so how can I link my src with the static lib and buid the exe??
ChrisW67
20th June 2013, 06:57
Use the qmake that comes with the static build of Qt you made to process your PRO file and it should link the static Qt libraries by default.
If you are looking at a downloaded set of MingW-built binaries then the *.a files in the lib folder are import stubs for the dynamic libraries, not static libs.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.