b1
27th September 2010, 03:00
G'Day,
I have installed Qt 4.6.2 on Slackware Linux 13.1 and compiled the toolkit statically. I can confirm this worked by checking the demos & examples are all 10Mb or larger (in the shared compile they were in the Kbs).
Using QDevelop I wrote a test application and tried to compile it statically but it ends up shared. I have set the QTDIR to the static libraries and all the paths/option/tools/etc in QDevelop are set to the static libraries. I even tried the command line using the tools from the static compiled toolkits bin directory but it still creates a shared executable. I have checked that the project file contains "config += static". I have only had this problem since using KDE4 (which uses Qt4 of course).
Clearly I am missing something very obvious but I can't see the wood for the trees!! Any thoughts would be appreciated.
Thanks, B1.
I have installed Qt 4.6.2 on Slackware Linux 13.1 and compiled the toolkit statically. I can confirm this worked by checking the demos & examples are all 10Mb or larger (in the shared compile they were in the Kbs).
Using QDevelop I wrote a test application and tried to compile it statically but it ends up shared. I have set the QTDIR to the static libraries and all the paths/option/tools/etc in QDevelop are set to the static libraries. I even tried the command line using the tools from the static compiled toolkits bin directory but it still creates a shared executable. I have checked that the project file contains "config += static". I have only had this problem since using KDE4 (which uses Qt4 of course).
Clearly I am missing something very obvious but I can't see the wood for the trees!! Any thoughts would be appreciated.
Thanks, B1.