Hello all.
I'm getting back to porting Qt programs, but I'm having troubles in linking. Here's the scenario: I decided to port Socializer (facebook QT browser) to try and have a native facebook browser native.
Being a Qt 5 application, I solved the JSON problem with an alternative library - works.
The program compiles but doesn't link. If I use -Zomf, the prelinker stops reporting a bunch of undetermined references, while using -Zexe it's g++ (ld) which stops saying it doesn't recognize the -O option. Needless to say, but there's no '-O' option in linker switches.
I also tried to
I attach here the makefile and the error messages reported. I'm currently using GCC 4.73, but the errors are the same. I even tried to delete all the -Z* linker options, and linking stops complaining it can't find the Qt libraries with errors like this:
U:/usr/i386-pc-os2-emx/bin/ld.exe: No such file or directory for QtGui4
or
U:/usr/i386-pc-os2-emx/bin/ld.exe: No such file or directory for QtWebKit4
but the library files (.lib files) are there. I'm really puzzled by this behavior. (Of course it's my ignorance on how gcc / ld work.)