Results 1 to 6 of 6

Thread: yet another MSVS 2005 express question

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

    Default yet another MSVS 2005 express question

    Hi,

    ok, I gave in, and I am trying the Qt integration with MSVS 2005 Express.
    Followed all the good advice here.
    I created a makfile based project with msvs with two classes and a main.
    I then ran qmake -project which generated a correct looking pro file.
    Then I run qmake -tp vc, and got the following error:
    Could not find mkspecs for your QMAKESPEC(win32-msvc2005 ) after trying:
    C:\Qt\4.3.2\mkspecs
    Error processing project file: C:/Dokumente und Einstellungen/dkish/Eigene Dateien/Visual Studio 2005/Projects/deleteme/deleteme/deleteme.pro
    However I do have win32-msvc2005 folder under C:\Qt\4.3.2\mkspecs, and it has a conf and a header file that looks ok.
    Any idea what I could have been doing wrong?

    Thanks.
    ==========================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.

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

    Default Re: yet another MSVS 2005 express question

    Hmm.... doing:
    qmake -spec win32-msvc2005 deleteme.pro
    Works...
    Any idea why my QMAKESPEC doesn't work ?
    ==========================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
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: yet another MSVS 2005 express question

    What does echo %QMAKESPEC% return?

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

    Default Re: yet another MSVS 2005 express question

    It returns the right mkspec:
    C:\Dokumente und Einstellungen\dkish\Eigene Dateien\Visual Studio 2005\Projects\deleteme\deleteme>echo %QMAKESPEC%
    win32-msvc2005
    ==========================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.

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

    Default Re: yet another MSVS 2005 express question

    Just a wild guess but is there maybe a space behind the mkspec:

    QMAKESPEC(win32-msvc2005 )
    ?

  6. The following user says thank you to ChristianEhrlicher for this useful post:

    high_flyer (30th November 2007)

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

    Default Re: yet another MSVS 2005 express question

    Pah.... heh... who would've thought...
    THANKS!
    ==========================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.

Similar Threads

  1. Qt 4.3.2 with VS 2005 Express
    By AlGaN in forum Installation and Deployment
    Replies: 9
    Last Post: 14th October 2007, 13:13
  2. Problem installing Qt 4.2.3 with MSVC 2005 express edition
    By jjhenjj in forum Installation and Deployment
    Replies: 8
    Last Post: 12th July 2007, 14:57

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.