Results 1 to 6 of 6

Thread: Qmake 4.5.0

  1. #1
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Qmake 4.5.0

    Hello Friends,

    I have a strange issue. I have compile my src 4.5.0 without problem under drive D:\.

    after finishing I copy my content from d:\Qt_45_shared to C:\Qt\4.5.0.

    The two folders are from different computer. So D: is now a CD-Drive.

    Now every time I try to run qmake it gives me an error like "Theres no media in drive etc"

    Whats going on there??
    I had no problems in past versions with actions like this I mentioned.

    My environment variables point to path C:\Qt\4.5.0\bin; LIB to C:\Qt\4.5.0\lib INCLUDE to C:\Qt\4.5.0\include etc etc

    but qmake generates makefiles with pathes to d:\Qt_45_shared\lib and d:\Qt_45_shared\include etc ?????
    Last edited by LordQt; 5th March 2009 at 10:56.

  2. #2
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: Qmake 4.5.0

    Because where it is installed to after compiling. It is hard coded into it. You have to set the installation directory to C:\Qt\4.5.0 or whatever then do nmake install. But you can compile it anywhere. Just don't compiling and install to the same directory or it will mess it up
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

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

    LordQt (6th March 2009)

  4. #3
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qmake 4.5.0

    So what I have to do after copy it to C:\Qt\4.5.0

    I use mingw32-make. How can I install a directory Qt I just compile, copy it to other pc and thats it and I change my environment variables...?????

  5. #4
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qmake 4.5.0

    In the install notes from Qt stands that after compiling my qt is installed.

    Look to point 5 in the textfile after I compile my src I have installed my stuff automatically.

    But can I really don´t copy my lib to another location without some strange adjustment that I don´t figure out at the moment ???

  6. #5
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    1
    Thanked 9 Times in 9 Posts

    Default Re: Qmake 4.5.0

    LordQt, please see following link Using qt.conf. It should help you.

  7. The following user says thank you to pastor for this useful post:

    LordQt (6th March 2009)

  8. #6
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qmake 4.5.0

    pastor, thank you !

Similar Threads

  1. qmake sux a lot
    By singermornings in forum Qt Programming
    Replies: 6
    Last Post: 29th January 2009, 08:33
  2. Qt 4.3.1 & MinGW 5.1.3 & MSYS 1.0 qmake problem
    By mdecandia in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd October 2008, 16:52
  3. MacOS settings
    By skaiser in forum Installation and Deployment
    Replies: 2
    Last Post: 19th July 2007, 07:47
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  5. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

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.