Results 1 to 9 of 9

Thread: Qt 4.6.2 with VS2005

  1. #1
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.6.2 with VS2005

    Hi,

    I am trying to use Qt 4.6.2 with vs2005, I have run configure and nmake, everything seems fine. However, I am not able to use the phonon libraries, it seems that the phonon libraries are not being built. It can't seem to find the phonond4.lib. May I know how to resolve this problem, am I missing out a step here?
    Thanks

    Regards,
    Leo

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2 with VS2005

    Did you have Windows platform SDK and DirectX SDK installed ?
    Without that the phonon libraries wont be built. Also you will need to set the paths for both sdks... you can find in .bat files from those sdk's.

  3. #3
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.6.2 with VS2005

    Quote Originally Posted by aamer4yu View Post
    Did you have Windows platform SDK and DirectX SDK installed ?
    Without that the phonon libraries wont be built. Also you will need to set the paths for both sdks... you can find in .bat files from those sdk's.
    Hi,

    I will get these 2 sdks installed, but how do I set the paths?

    Regards,
    Leo

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2 with VS2005

    Include these before running configure.exe -

    "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
    "C:\Program Files\Microsoft DirectX SDK (November 2008)\Utilities\Bin\dx_setenv.cmd"
    "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\setenv.cmd"

    I usually follow the above rule.

  5. #5
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.6.2 with VS2005

    Quote Originally Posted by aamer4yu View Post
    Include these before running configure.exe -

    "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
    "C:\Program Files\Microsoft DirectX SDK (November 2008)\Utilities\Bin\dx_setenv.cmd"
    "C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\setenv.cmd"

    I usually follow the above rule.
    Hi,

    I am a bit of a newbie, may I know how and where to include these paths.

    Regards,
    Leo

  6. #6
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2 with VS2005

    When you have the directX and platform SDK installed, you will see those paths on your system. I just gave the paths which were on my system.
    And I guess you aint a newbie to search your computer for those files

  7. #7
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.6.2 with VS2005

    Quote Originally Posted by aamer4yu View Post
    When you have the directX and platform SDK installed, you will see those paths on your system. I just gave the paths which were on my system.
    And I guess you aint a newbie to search your computer for those files
    Hi,

    I managed to find those files, however, you mentioned to include it before running configure. How do I include it? Is it as an environment variable or as.......?

    Regards,
    Leo

  8. #8
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.6.2 with VS2005

    I guess you run configure from command prompt ?
    From command prompt, you need to just call those batch files..
    for eg - "C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" and press enter.
    These batch files will set the environment accordingly.
    Psst : Open those files in notepad and see what they do,,, if you are curious enough

  9. #9
    Join Date
    Feb 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.6.2 with VS2005

    Hi,

    Thanks for the help, it finally works. I tried using the windows sdk 2008 at first but it can't work, then I found the one which is the same as the path specified, it works. Thanks again

    Regards,
    Leo

Similar Threads

  1. Replies: 5
    Last Post: 26th April 2009, 12:50
  2. qt and vs2005
    By xenry in forum Installation and Deployment
    Replies: 2
    Last Post: 17th March 2009, 07:56
  3. Do not use VS2005 SP1 with Qt4
    By ChristianEhrlicher in forum Installation and Deployment
    Replies: 21
    Last Post: 2nd February 2008, 14:48
  4. Qt4 with VS2005
    By bkastel1 in forum Qt Programming
    Replies: 9
    Last Post: 6th November 2007, 12:54
  5. QTDIR in VS2005?
    By gfunk in forum Qt Programming
    Replies: 3
    Last Post: 14th June 2007, 16:41

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.