[Wine] Re: Compiling and linking QT project with Wine libraries
wineforum-user at winehq.org
Fri Jun 26 06:00:51 CDT 2009
You need to compile all of your source using winegcc/wineg++ and it also needs to perform the linking. Winegcc/g++ should link with kernel32 by default but for non-standard win32 dlls you need to add -ldllname.
int maint(int argc, char **argv)
printf("Hello world winelib\n");
winegcc -o hello hello.c -ldll_name
More information about the wine-users