Results 1 to 7 of 7

Thread: Where does qmake get the qt path?

  1. #1
    Join Date
    Jun 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Where does qmake get the qt path?

    The generated makefile by "qmake -makefile -spec win32-g++ ..." contains paths with back slashes to moc. MSYS doesn't work with that paths. In my PATH variable contains only slashes. So qmake doesn't read PATH.

    My config is:
    - Win2k
    - MinGW
    - MSYS

  2. #2
    Join Date
    Jun 2008
    Location
    Glenwood, NJ USA
    Posts
    32
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Where does qmake get the qt path?

    Reimer,

    This question would be better suited in the beginner forum. The problem is that you are attempting to create a Windows project and it appears that your platform is Mac. Why are you not specifying '-spec macx-xcode' ?

  3. #3
    Join Date
    Jun 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Where does qmake get the qt path?

    Quote Originally Posted by awhite1159 View Post
    Reimer,

    This question would be better suited in the beginner forum. The problem is that you are attempting to create a Windows project and it appears that your platform is Mac. Why are you not specifying '-spec macx-xcode' ?
    Nice joke
    Nobody wrote about mac in this thread.

    I told you my config. => Win2k, MinGW & MSYS.

    I could translate my post in three other languages but you wouldn't understand it

    The time I travel by train I'm working on my mac. At my work I'm synchronising with Windows. My app has to run on Windows. Understood so far?

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Where does qmake get the qt path?

    1. Do you really need MSYS?
    2. Which exact version of Qt is this? Qt supports (or was supposed to support) MSYS since version 4.3.0.
    J-P Nurmi

  5. #5
    Join Date
    Jun 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Where does qmake get the qt path?

    Quote Originally Posted by jpn View Post
    Which exact version of Qt is this? Qt supports (or was supposed to support) MSYS since version 4.3.0.
    Sorry, forgot to mention it. I'm using Qt 4.4

    Quote Originally Posted by jpn View Post
    Do you really need MSYS?
    Which shell should I use instead? Netbeans required a unix-like shell. Furthermore I can't use any os without a unix-like shell.
    Last edited by reimer; 1st August 2008 at 21:55.

  6. #6
    Join Date
    Jun 2008
    Location
    Glenwood, NJ USA
    Posts
    32
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Where does qmake get the qt path?

    I was really trying to be helpful. I replied as I did after noticing your profile indicated Mac OS. Was not aware of the packages you are using that appear to be some type of emulator. I tend to avoid emulation packages for good reasons. So, sorry I could not help.
    Last edited by awhite1159; 2nd August 2008 at 02:29.

  7. #7
    Join Date
    Jun 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Where does qmake get the qt path?

    I've just added Windows in my profile

Similar Threads

  1. 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
  2. MacOS settings
    By skaiser in forum Installation and Deployment
    Replies: 2
    Last Post: 19th July 2007, 07:47
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. Which path should I use?
    By Dark_Tower in forum Newbie
    Replies: 3
    Last Post: 8th April 2006, 12:09
  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.