Hi
Thanks for the replies.
After my post I decided to get the Qt 4.8.4 sources and compile Qt myself. After compiling it, I set up as a new kit in Qt Creator and pointed qmake to the qmake I built from the 4.8.4 sources. When I rebuild everything against this newly compiled 4.8.4 version, the problem is gone.
The culprit was indeed the -g flag which inserted the debug symbols. Not sure why the 4.8.1 qmake created a Makefile with all the other garbage and the 4.8.4 does not. Here is the Makefile from 4.8.4 which gives me nice small release libs again.
CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
CFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
CXXFLAGS = -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
To copy to clipboard, switch view to plain text mode
Just to be complete in case anyone else runs into this problem:
I also noticed that after I deployed the application with the big release libraries it does not run properly. Nothing is painted on any widgets and lots of these messages appears:
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2a0007a
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2a0007a
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2a0007a
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x2a0007a
To copy to clipboard, switch view to plain text mode
The reason for these messages is a bad Qt 4.8.1 linux distro according to http://qt-project.org/forums/viewthread/16819. Thus, I guess I have the same bad 4.8.1 linux distro over here which also has issues in qmake.
Thanks for the help again.
Jaco
Bookmarks