Results 1 to 4 of 4

Thread: how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe

  1. #1
    Join Date
    May 2009
    Posts
    38
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe

    can any one tell me how to intall these two packages?

    i have been try to do for 4 hous. it still not working.

    where I am up to now

    my vs can compile now, but it will give me a error:

    Qt Code:
    1. fatal error LNK1181: cannot open input file 'qtmaind.lib
    To copy to clipboard, switch view to plain text mode 

    then i go to that folder, there is no any lib files

    so I guess i need to build it with vs

    then I open cmd and go:

    Qt Code:
    1. c:\qt\4.5.0-vc\qt> configure -platform win32-msvc2005
    To copy to clipboard, switch view to plain text mode 

    it give me a error:
    Qt Code:
    1. c:\qt\4.5.0-vc\qt\include\qtcore\../../src/corelib/global/qglobal.h(45) : fatal
    2. error C1083: Cannot open include file: 'stddef.h': No such file or directory
    3. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\
    4. l.EXE"' : return code '0x2'
    5. Stop.
    6. Building qmake failed, return code 2
    To copy to clipboard, switch view to plain text mode 

    and i have set evn path include the "C:\Qt\4.5.0-vc\qt\bin"


    what to do????????????????????help!!!!!!!!!!!!

  2. #2
    Join Date
    May 2009
    Posts
    38
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe

    D:\lib\qt\4.1.1>"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.

  3. #3
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe

    I have a similar problem.
    The AddIn Qt setup in Visual Studio will not accept Qt version "2009.02", the ok button is dimmed.
    If I use C:\Qt\4.5.1 as version, it is accepted, but the "Qt Application" template generates a project which wants ".lib" libraries, while there are only "lib*.a" libraries in the C:\Qt\4.5.1\lib directory.
    D:\lib\qt\4.1.1>"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
    Setting environment for using Microsoft Visual Studio 2005 x86 tools.
    is a bit cryptic.
    Could you please explain in more detail what you mean? And what it does?
    And if it solves the above problem?

    BN
    Last edited by bnilsson; 4th June 2009 at 23:55.
    MacOSX user dabbling with Linux and Windows.

  4. #4
    Join Date
    Jan 2008
    Posts
    155
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install qt-sdk-win-opensource-2009.02.1.exe with qt-vs-addin-1.0.1.exe

    An answer to my own questions, and maybe to the original post:
    Maybe it is not possible (or even relevant) to combine VS with the "Complete Development Environment" with the Qt Creator etc.
    I installed the "qt-vs-addin-1.0.1" together with "qt-win-opensource-4.5.1-mingw"
    and after installation I reconfigured Qt for vs in the Qt command window
    "configure -platform win32-msvc2008"
    and
    "nmake"

    In VS I set the "Qt options" Qt version to 4.5.1.
    After this all worked fine.
    MacOSX user dabbling with Linux and Windows.

Similar Threads

  1. How to clean my Mac opensource install?
    By cb in forum Installation and Deployment
    Replies: 3
    Last Post: 28th September 2007, 23:22

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.