Results 1 to 8 of 8

Thread: QWT install for Windows with Visual studio 2005

  1. #1
    Join Date
    Aug 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default QWT install for Windows with Visual studio 2005

    Good day.

    I have read all the posts regarding QWT installation. I have installed QT4.5 and QWT5.0.0.
    I execute the following in command line promt:
    qmake qwt.pro - this creates the makefile
    nmake - since I am using visual studio.

    The nmake doesn't generate any libraries and gives the following error after a few seconds:

    NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 8\vc\bin\c1.exe"' :return code '0xc0000135'
    Stop.
    NMAKE: fatal error U1077: '"c:\program files\microsoft visual studio 8\vc\bin\nmake.exe"' : return code '0x2'
    Stop.

    If anyone has encountered this and can give me some advice I would greatly appreciate it.
    Kind regards

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT install for Windows with Visual studio 2005

    No idea what your problem is, but before you continue note, that you need Qwt 5.2 for Qt 4.5.

    Uwe

  3. #3
    Join Date
    Aug 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWT install for Windows with Visual studio 2005

    Hi. Thanx for the quick response.
    I tried the same with QWT 5.2.0 and the problem still remains.

    I realized that there is a lot of interest in this topic but there is no real set of instructions to follow to ensure that QWT will work on windows with visual studio.

    Kind regards

  4. #4

    Default Re: QWT install for Windows with Visual studio 2005

    Are you sure your PATH setting is right ? some more lines of nmake messages ?

  5. #5
    Join Date
    Aug 2009
    Posts
    33
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWT install for Windows with Visual studio 2005

    I think i got the same error when i first tried to compile Qwt. make sure you run the 2 commands in the VS command promt.

  6. #6
    Join Date
    Aug 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWT install for Windows with Visual studio 2005

    Hi.

    Thnax for the replies. I am busy re-installing everything. I will let everyone know what worked

  7. #7
    Join Date
    Aug 2009
    Posts
    19
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QWT install for Windows with Visual studio 2005

    Thanx emrares!!
    Your help did the trick.

    No to start learning QWT!

    Thanx to all

  8. #8
    Join Date
    Nov 2009
    Posts
    17
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QWT install for Windows with Visual studio 2005

    Hi there

    I need some similar help while compiling the Qwt in MSVS 2005.

    I have no problem while compiling and using the Qwt in Qt Creator with mingw. I link again libqwt5.a and the dll is kept in the right place the PATH variable.

    As my application uses MSVS 2005, I have to compile the Qwt in MSVS.

    If I compile the qwt source code version 5.2.1, the
    *libqwtd5.a &
    *qwtd5.dll
    are created in the qwt lib directory.

    I was wondering why It is creating the .a file instead of .lib file. I need the .lib file because the main application is linked with Qt in the way. I tried several ways to create the .lib file, but it always creates the .a and a .dll

    Please suggest how to generate the .lib instead of .a

    Please reply.

Similar Threads

  1. qwt and visual studio 2005
    By stefan in forum Qwt
    Replies: 4
    Last Post: 30th September 2008, 12:25
  2. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  3. Qt configure with msvc.net
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 11th June 2007, 09:17
  4. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 14:15
  5. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 22: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.