Results 1 to 2 of 2

Thread: Qt in VC++ problem

  1. #1
    Join Date
    Feb 2009
    Posts
    189
    Thanks
    2

    Default Qt in VC++ problem

    Dear Friends
    I am trying to build Qt within VC++....
    I am doing these.

    Download and install qt-sdk-win-opensource-2009.01.1.
    opening the command prompt for VC++ by vc++->tool->opencommandprompt
    changing to the directory C:\Qt\2009.04\qt
    configure -no-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2005 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit
    nmake
    ///////////////////////////////////////////////////////////////////////////////////////
    errors: In <helpviewer.h> file QWebView : No such file or directory
    bin: return code
    qwebview.h: no such file or directory
    I am buiding with -no-webkit mode so why I am getting these error..
    How will I sort it out. Any help would highly appreciated.
    Thanks
    Attached Images Attached Images
    Last edited by sujan.dasmahapatra; 22nd November 2009 at 08:40.

  2. #2
    Join Date
    Apr 2009
    Location
    Italy
    Posts
    70
    Thanks
    23
    Thanked 15 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt in VC++ problem

    I configure Qt with much the same switches and it works. This is my configure command:

    configure -no-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2008 -no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit


    Some things you might try:

    1. set the %QTDIR% environment variable to C:\Qt\2009.04\qt (Control Panel/System/Advanced/Environment Variables. I usually do this only for the current user)
    2. add %QTDIR%\bin to the %PATH% variable for the current user
    3. change "win32-msvc2005" to "win32-msvc2008" in the configure command
    4. open the real VS command prompt. In the screenshot you have a normal command prompt, NOT the VS command prompt (it should read "Visual Studio 2008 command prompt").

Similar Threads

  1. Problem with QAbstractListModel
    By eekhoorn12 in forum Qt Programming
    Replies: 3
    Last Post: 26th August 2009, 14:26
  2. Replies: 1
    Last Post: 23rd April 2009, 09:05
  3. Replies: 19
    Last Post: 3rd April 2009, 23:17
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  5. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36

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.