Important: Please read the Qt Code of Conduct -

QT 4.8.4 -> problem with static linking and

  • Hello there,
    i linked QT 4.8.4 statically on Ubuntu 12.04. I can build static applications with the qtcreator without a problem, all libraries are included.
    I used the following command to compile qt statically:
    ./configure -static -debug -opensource -developer-build -L/home/lokal/qtinclude -l:libmysqlclient.a -l:libssl.a -l:libcrypto.a -l:libmysqld.a -qt-sql-mysql -openssl-linked -qt-zlib -nomake demos -nomake examples -nomake tools -no-qt3support -no-opengl -no-webkit -prefix /usr/local/Trolltech/Qt-4.8.4_debug_static -v
    If i build my application which uses QtSql, it has a depency to
    I want all libraries being included to my executable file.
    What am I doing wrong ? Is it necessary to add some extra parameters to qt creators build configuration ?
    Greetings Till

Log in to reply