I currently have two installations of QT on my linux machine. The shared version is installed in /opt/QTSDK/Desktop and the static version is installed in /usr/local/Trolltech.

I am also using the mysql plugin.

How do I get the linker during the build of my executable in Netbeans to use the static XX.a libraries and not the shared XX.so libraries?

Also do I need to make any modifications to my xx/xx/xx/xx/Release/program.pro file or will that automatically be generated with " CONFIG +=static" and "QTPLUGIN += qsqlmysql " keywords once Netbeans sees I am building a static executable?

Thanks in advance.