[Wine] Compiling and linking QT project with Wine libraries

andrew1986 wineforum-user at winehq.org
Thu Jun 25 04:01:12 CDT 2009


Hi!

Sorry if my question very nooby, but I couldn't find answer in others posts. I'm trying to compile QT project which using some functions from kernel32.dll (SetEvent, Sleep, ExitThread etc.). I include Wine lib in my QT project file:

Code:
LIBS += /usr/lib/wine/kernel32.dll.so


When I linking my project I have errors such as:

Code:
undefined reference to 'SetEvent'
undefined reference to 'Sleep'
undefined reference to 'ExitThread'
................................................


I can't understand why linker couldn't "see" functions from SO file. Thanks for any help.







More information about the wine-users mailing list