Results 1 to 5 of 5

Thread: Files needed to create a package

  1. #1
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Files needed to create a package

    Hi all,
    I have created an application using qt4.2.2 on windows and I want to run this application to another system where there is no qt installed. So my question is what files are required to make it run.

    When I use to work on qt3.3.4 I used these files and there was no problems.
    1) qt-mt334.dll
    2) msvcp71.dll
    3) myexe.exe

    I tried using these files for qt4.2.2
    1) QtCore4.dll //for Core
    2) QtGui4.dll //for Gui
    3) QtOpenGL4.dll //for opengl
    4) msvcp71.dll
    5) myexe.exe

    But it just shows me the main Dialog without any Text or anything. But when I run the same application with files mentioned above on systems where qt4 is installed, it works fine with no problem.

    Am I missing something above?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Files needed to create a package

    Well, make sure you compiled the release version, and that you don't use any other qt modules beside the ones you mentioned.

    Don't you need msvcr71.dll also?

    regards

  3. #3
    Join Date
    Sep 2006
    Posts
    339
    Thanks
    15
    Thanked 21 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Files needed to create a package

    Quote Originally Posted by marcel View Post
    Well, make sure you compiled the release version, and that you don't use any other qt modules beside the ones you mentioned.

    Don't you need msvcr71.dll also?

    regards
    I tried using msvcr71.dll along with files mentioned above. Also release version too is compiled but the result is same. The mainwindow is shown but text drawn on GLWidget which is a child of MainWindow is not shown.

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Files needed to create a package

    Doesn't OpenGL need any libraries aside QtOpenGL? I never used it but isn't it just a wrapper for the OpenGL libs?

  5. #5
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Files needed to create a package

    Hey, why don't you try this : http://www.microsoft.com/technet/sys...sExplorer.mspx

    It is free and it lets you see (among other things) what dll's a certain process has loaded. You can use it to see all the dependencies of your program. I used it too for the same purpose.

    Regards

Similar Threads

  1. Replies: 5
    Last Post: 22nd September 2006, 08:04
  2. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  3. uic not creating seperate .h and .cpp files
    By Kapil in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2006, 10:43

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.