Results 1 to 5 of 5

Thread: Qt 4.2.2 and Visual studio express

  1. #1
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt 4.2.2 and Visual studio express

    Is it possible to set up Qt 4.2.2 with that compiler?

  2. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt 4.2.2 and Visual studio express

    I have seen this, but I have not done it myself. My guess is that either the VS2005 version supports express, or that it was built from sources.

  3. #3
    Join Date
    Jan 2007
    Posts
    13
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.2.2 and Visual studio express

    I guess you are refering to the opensource version of Qt, for the commercial one there is a visual studio integration available from Trolltech.

    For the opensource version there ist a good working patch, but it takes some time to apply it. Please go to http://www.qtnode.net/wiki/Qt4_with_Visual_Studio, there is a tutorial.

    Regards

  4. #4
    Join Date
    Jan 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.2.2 and Visual studio express


  5. #5
    Join Date
    Feb 2006
    Posts
    209
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.2.2 and Visual studio express

    I get some strange error saying:

    (The windows.h file is in c:\program files\microsoft platform SDK...\include

    and it seems to me that this path is added to the compiler in the tools->options->projects and solutions menue.
    Any ideas on what to do?

    ------------------------------
    Going to compile qmake now
    Continue? (Y/N):y

    Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.

    cl -c -FIqmake_pch.h -Yuqmake_pch.h -Fptmp\qmake_pch.pch -nologo -Zm200
    -GS -O1 -MD -DNDEBUG -GR -EHsc -W3 -DUNICODE -DQT_LARGEFILE_SUPPORT -DWIN32 -D_C
    RT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DQT_BUILD_QMAKE -DQT_BOOTSTR
    APPED -DQT_NO_TEXTCODEC -DQT_NO_LIBRARY -DQT_NO_STL -DQT_NO_COMPRESS -DQT_NO_UNI
    CODETABLES -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION -D
    QT_NODLL -DQT_NO_THREAD -DQT_NO_QOBJECT -I"../src/corelib/arch/generic" -I"gener
    ators" -I"generators\unix" -I"generators\win32" -I"generators\mac" -I"../include
    " -I"../include/QtCore" -I"../src/3rdparty/md5" -I"../qmake" -I"..\mkspecs\win32
    -msvc2005" -Fotmp\ @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nm5.tmp
    project.cpp
    .\project.cpp(42) : fatal error C1083: Cannot open include file: 'Windows.h': No
    such file or directory
    option.cpp
    .\option.cpp(650) : fatal error C1083: Cannot open include file: 'windows.h': No
    such file or directory
    Generating Code...
    NMAKE : fatal error U1077: 'F:\VS\VC\BIN\cl.EXE' : return code '0x2'
    Stop.

Similar Threads

  1. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 22:06
  2. Compiling?
    By Afflicted.d2 in forum Newbie
    Replies: 7
    Last Post: 16th October 2006, 20:32
  3. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 22:41
  4. Qt Designer & Visual Studio 2005
    By pSiCho in forum Qt Tools
    Replies: 6
    Last Post: 9th February 2006, 14:40
  5. Where does VS save its inviornment vars?
    By high_flyer in forum Installation and Deployment
    Replies: 5
    Last Post: 4th February 2006, 11:10

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.