Results 1 to 6 of 6

Thread: Error while statically compiling qt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Location
    Gordion
    Posts
    52
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Error while statically compiling qt

    Hi again. I solved my problems.

    First, i can't do your tutor. Because its taking more time.

    Second: i deleted all confs, all Qt, mingw and the others from my computer and i installed Qt SDK again. I made a release (not debug) for my app... And then, on my virtual machine i run it. Its give more errors I copied dll files, what the application wants. So at last i copied 7 file in my application work dir, and its run exactly.

    After thas i packed it with Nsis.

    Third: i can't stop... Because my installer package has a 40mb, and i refuse it... I build Qt for staticly again, i do it like trolls document. (yes, i know my english is bad... sorry about this... i'm working on it ) so, i find the wrong thing that i'm always doing...

    After static config&build, i didnt check release from project properties!!!

    It's important... I'm build it static but i waiting for dynamic working... I find my fault, and change it for release, and bingo!! it's runned...
    So, my application size has down too... Its fall to 5 mb, from 40mb ... Its amazing...

    Thanks a lot...

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

    Default Re: Error while statically compiling qt

    Don't forget the different licensing requirements of static builds.

Similar Threads

  1. LNK2005 error in VS2005 when statically building Qt App
    By pkloc in forum General Programming
    Replies: 9
    Last Post: 2nd July 2011, 01:36
  2. error while compiling on MAC
    By aj2903 in forum Qt Programming
    Replies: 1
    Last Post: 3rd March 2010, 07:03
  3. Replies: 3
    Last Post: 2nd March 2010, 17:52
  4. Error in compiling OpenSSL & Qt statically
    By KGCode in forum Installation and Deployment
    Replies: 2
    Last Post: 14th October 2009, 15:12
  5. Replies: 1
    Last Post: 25th October 2008, 19:18

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
  •  
Qt is a trademark of The Qt Company.