Results 1 to 4 of 4

Thread: build static Qt Creator

  1. #1
    Join Date
    Sep 2009
    Posts
    30
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default build static Qt Creator

    I have tried with several Qt installs with differend configure options, I have even tried making every lib in the Qt Creator source static by adding "CONFIG += static" to all .pro files with TEMPLATE = lib. Still a no go. I receive 17 unresolved external symbols.

    Does anyone know of a way to get Qt Creator built, linking with a static Qt? Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: build static Qt Creator

    You can't build Creator in static mode because it uses plugins that require that Qt is linked dynamically. You'd have to rewrite parts of Creator source code to be able to build it in static mode.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: build static Qt Creator

    Can we ask why you want Qt Creator built statically? Normally you leave it dynamic and compile just the bits you want statically. I normally just statically build the GUI and Core libraries and leave everything else alone as I don't need them (yet).

  4. #4
    Join Date
    Sep 2009
    Posts
    30
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: build static Qt Creator

    It was purely an educational experiment. I suspected as much (that the plugins were the culprit).

Similar Threads

  1. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 09:49
  2. Qt Creator 0.9.1 - progrma build error
    By fb2007 in forum Installation and Deployment
    Replies: 5
    Last Post: 18th October 2009, 16:02
  3. Replies: 11
    Last Post: 13th July 2009, 16:05
  4. Replies: 16
    Last Post: 23rd May 2008, 10:12
  5. Please Help-->have few doubts with Static build in Windows !
    By Krish in forum Installation and Deployment
    Replies: 1
    Last Post: 17th March 2008, 14:37

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.