Results 1 to 7 of 7

Thread: Qt Setup Help

  1. #1
    Join Date
    Apr 2008
    Posts
    35
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Qt Setup Help

    Hi,

    I have five different versions of Qt in my Computer.

    1. MinGW version - It is the normal QtSDK setup
    2. 32-bit Dynamic - Shared Library (Debug and Release)
    3. 32-bit Static Library (Debug and Release)
    4. 64-bit Dynamic - Shared Library (Debug and Release)
    5. 64-bit Static Library (Debug and Release)

    from 2 to 5, are all compiled with Visual Studio 2010 with specific configure options.

    I do a lot of formating and reinstalling as I work with Windows 7 OS stuff so I have to compile, install and setup everything again and again.. Is there a way I can compile everything once and then create a setup file for that version like the standard Qt MinGW version that is available on website..

    Thanks in Advance
    Arpit

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Setup Help

    I do a lot of formating and reinstalling as I work with Windows 7 OS stuff so I have to compile, install and setup everything again and again..
    What does the fact you work with W7 has to do with reinstalling again and again??

    Is there a way I can compile everything once and then create a setup file for that version like the standard Qt MinGW version that is available on website..
    Do you mean install for your application or Qt?
    You can have various versions of Qt in parallel, you just have to specify the correct paths in your project, to the Qt version you want to build that project with.

    However, if you are building for various platforms, one good way is to use virtual machines to test deployment - with out the need to really format an reinstall you own system.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jul 2009
    Posts
    74
    Thanks
    2
    Thanked 6 Times in 6 Posts

    Default Re: Qt Setup Help

    In an initial state... just zip the folders and store in an external drive...

  4. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt Setup Help

    Another thing you can do is create partition image with applications like Norton Ghost or Acronis True Image, you can install Windows (drivers, activate, etc) configure all the Qt installations you need and then image the partition.

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

    arpspatel (26th January 2011)

  6. #5
    Join Date
    Apr 2008
    Posts
    35
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Setup Help

    Quote Originally Posted by high_flyer View Post
    What does the fact you work with W7 has to do with reinstalling again and again??
    I have to format my hard disk frequently (once a month) and so have to reinstall windows, qt, compile qt for 4-5 hours for each version, create personalised settings for qt. I tried to keep a backup of everything qt-related on different partition but gives error for compiling saying something like win32-msvc2010 mkspecs not found. The only way i have been able to get it working is to recompile the qt again. I know there is a quick fix by patching the mkspecs file but i dont know how to do that. please tell me if you do.. i can intergrate it with the NSIS installer with Compiled Qt version

    Quote Originally Posted by high_flyer View Post
    Do you mean install for your application or Qt?
    You can have various versions of Qt in parallel, you just have to specify the correct paths in your project, to the Qt version you want to build that project with.
    I need an install for Qt, for my applications i use NSIS. Like the OpenCV package which provide cmake and cpack for creating installer of the compiled version. I am already running 5 different versions of Qt.

    Quote Originally Posted by high_flyer View Post
    However, if you are building for various platforms, one good way is to use virtual machines to test deployment - with out the need to really format an reinstall you own system.
    Virtual Machines does not have good graphics and i dont know how to use my touch controller in VM.. so i have to use the main pc. i do want to get another powerful pc just for testing and stuff but that can wait for some time.

    Thanks
    Arpit
    Last edited by arpspatel; 26th January 2011 at 18:29.

  7. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Setup Help

    I have to format my hard disk frequently (once a month)
    Why is that?
    Are you aware that each HD has a limited physical limit to the number of formating it can do?
    And it not a high number as you might expect!

    Any way, what Zlatomir suggested is what you need - just make an image of your HDD, no installs needed.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  8. The following user says thank you to high_flyer for this useful post:

    arpspatel (26th January 2011)

  9. #7
    Join Date
    Apr 2008
    Posts
    35
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Setup Help

    Quote Originally Posted by high_flyer View Post
    Why is that?
    Are you aware that each HD has a limited physitcal limit to the number of formating it can do?
    And it not a high number as you might expect!

    Any way, what Zlatomir suggested is what you need - just make an image of your HDD, no installs needed.
    Thanks, i tried acronis and it very good.. i will try that for now.. still is there a way to create Qt installer...

    as for format, i didnt know there is a limit for format, i have done about 8-9 formats now.. will keep it that way for now.. I test customised windows os for graphics and touch enhancements, so for every major release i update it to my home pc by doing a clean install.. i will have to create a update package to go along with it.. so it doesnt require more formats...

    Thanks
    Arpit

Similar Threads

  1. Still struggling with Symbian setup
    By Granty in forum Newbie
    Replies: 2
    Last Post: 29th October 2010, 18:38
  2. QWT - first step [setup problem]
    By gandalf in forum Qwt
    Replies: 1
    Last Post: 7th May 2010, 21:37
  3. Qwt setup with VS2008
    By er453r in forum Qwt
    Replies: 1
    Last Post: 26th April 2010, 15:44
  4. How to make a setup
    By TomASS in forum Qt Tools
    Replies: 7
    Last Post: 7th December 2009, 13:31
  5. How to create setup in Mac
    By santhoshv84 in forum Qt Programming
    Replies: 0
    Last Post: 18th September 2008, 07:26

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.