Results 1 to 5 of 5

Thread: How can i execute a QT program in another computer? (VC++ Express)

  1. #1
    Join Date
    Mar 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default How can i execute a QT program in another computer? (VC++ Express)

    I'm trying to execute my QT aplication in another computer, but it give errors.

    How can I do a static release? Or, what dlls of QT I need to put with the VC++ Dlls?

    I use qmake, to do the project.

  2. #2
    Join Date
    Jan 2006
    Location
    Edmonton, Canada
    Posts
    101
    Thanks
    13
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How can i execute a QT program in another computer? (VC++ Express)

    I've had similar issues.

    Trolltech doesn't document this very well, but they're fixing it:
    http://trolltech.com/developer/task-...+&method=entry

    And you can find more info here: http://forums.microsoft.com/MSDN/Sho...64465&SiteID=1

    If you're still stuck, try Dependency Walker to see which libraries you're missing.

    Hope that helps some...

  3. The following user says thank you to Jimmy2775 for this useful post:

    v3n0w (13th June 2007)

  4. #3
    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: How can i execute a QT program in another computer? (VC++ Express)

    Take a look at our wiki (accessible through a link in the header of this page).

  5. The following user says thank you to wysota for this useful post:

    v3n0w (13th June 2007)

  6. #4
    Join Date
    Mar 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How can i execute a QT program in another computer? (VC++ Express)

    I Follow the wiki, and do a 450kb file, the other one has only 8k...

    Now i have to test.

    Thanks!

  7. #5
    Join Date
    Mar 2007
    Posts
    12
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How can i execute a QT program in another computer? (VC++ Express)

    Well in fact don't work, by the wiki : "In order for static linking to work, we first need to build Qt itself statically."

    So I have to build all the QT again? Forget it.

    But, what are the dlls, I have to put with my file to work? Are the same of the libs I use? Like QtCore4.dll... ??

    [EDIT] That's it! With the wiki instruction I avoid the VC dlls, and with the Qt dlls the progam works, 2,3mb, for now its good!

    Thanks!
    Last edited by v3n0w; 14th June 2007 at 05:24.

Similar Threads

  1. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19

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.