Results 1 to 9 of 9

Thread: No installation step when compiling Qt on Windows?

  1. #1
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default No installation step when compiling Qt on Windows?

    I compiled Qt 4.5.2 under VS2008 on Windows.
    The INSTALL file that comes with the library says nothing about installation step. To be more precise you can read this
    4. Building
    (instructions how to build)
    5. That's all. Qt is now installed.

    Is there really no installation step after compilation of qt??

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: No installation step when compiling Qt on Windows?

    thats it... you can set the QTDIR env variable to windows to make it a complete install

  3. #3
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No installation step when compiling Qt on Windows?

    In the INSTALL file you can read this

    If you need to reconfigure and rebuild Qt from the same location,
    ensure that all traces of the previous configuration are removed
    by entering the build directory and typing

    nmake confclean

    before running the configure script again.
    Before: 41315 files
    After: 33890 files

    Shouldn't it be always done after building Qt.

  4. #4
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: No installation step when compiling Qt on Windows?

    no.. it is needed if you want to recompile qt. Now when u have compiled.. u dont need it,, and DO NOT do it.

  5. #5
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No installation step when compiling Qt on Windows?

    Quote Originally Posted by MrDeath View Post
    no.. it is needed if you want to recompile qt. Now when u have compiled.. u dont need it,, and DO NOT do it.
    I compiled qt in one place and then moved it into another one, from where I'm going to use it. I'm not going to recompile moved version any more. In case I would like to recompile qt I'll use the original version. Shouldn't I clean the moved version if I'm only going to use it?

    Although there's no installation step in the INSTALL file mentioned, when you run configure you get a list of options set and one of them is the install_prefix set to the same folder you are in (the folder with qt sources). So maybe there's hidden installation step not mentioned in the INSTALL file. Do you know how I could change this install_prefix option so that qt would be installed in some specific folder instead of the one with the source?

  6. #6
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No installation step when compiling Qt on Windows?

    So you're saying these 323 tmp folders with 10936 files are neccessary for Qt to work?!

  7. #7
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No installation step when compiling Qt on Windows?

    One more thing; If there's no installation step then why Qt Creator says
    The Qt Version c:\qt\4.5.2-gcc3 is not installed. Run make install.??

  8. #8
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: No installation step when compiling Qt on Windows?

    do you know what is the meaning of configure, make and make install? if not please you have to read a little more. I think you are confusing the "sofware installation on windows" with make install.

  9. #9
    Join Date
    May 2009
    Posts
    133
    Thanks
    10
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: No installation step when compiling Qt on Windows?

    Quote Originally Posted by MrDeath View Post
    do you know what is the meaning of configure, make and make install? if not please you have to read a little more. I think you are confusing the "sofware installation on windows" with make install.
    In case of compiling software from source, make install is supposed to do very similar things on *unix and Windows namely it has to copy execs, libs and other necessary files to proper folders in the system. By doing this we can be sure we're not left with a bunch of useless tmp files made during compilation.
    Don't you agree with this?

    If you agree with the above then I'm asking again
    Why there's no installation step when building Qt on Windows? This step seems necessary to at least get rid of all these tmp files.

Similar Threads

  1. Error compiling Qt Creator src on windows
    By munna in forum Installation and Deployment
    Replies: 2
    Last Post: 18th May 2009, 12:58
  2. Need help with compiling on Windows
    By Cruz in forum Newbie
    Replies: 4
    Last Post: 29th January 2009, 10:09
  3. Installation of Qt4.3.4 for Windows
    By merry in forum Installation and Deployment
    Replies: 4
    Last Post: 12th March 2008, 09:47
  4. Compiling qshortcutdialog on Windows with mingw
    By dvmorris in forum Qt Programming
    Replies: 2
    Last Post: 23rd April 2007, 19:16
  5. Replies: 10
    Last Post: 28th April 2006, 15:48

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.