PDA

View Full Version : problem configuring the qwt plugin for designer



semden
21st October 2008, 16:52
Hi there.

I kindly need assistance with integrating qwt 5.1.1 with the commercial version of qt 4.43 integrated with visual studio 2005, all running on windows xp service park2.

I was able to:
1.configure qwt using qmake qwt.pro and nmake
2.configure examples using qmake examples.pro ,nmake

But when i try to configure the qwt plugin for designer, i get the error below;

C:\Qt\qwt-5.1.1\designer>qmake qwtplugin.cpp
c:\Qt\qwt-5.1.1\designer\qwtplugin.cpp:1: Parse Error ('/* -*- mode: C++ ; c-fil
e-style: "stroustrup" -*- *****************************')
Error processing project file: qwtplugin.cpp

How do i procced!
Dennis

jacek
21st October 2008, 21:30
You shouldn't run qmake on a .cpp file. It doesn't know what to do with them. Isn't there a .pro file in that directory?

Also, please, don't post the same question more than once.

semden
21st October 2008, 23:11
Iam really sorry for posting more than one time.

in the directory of designer , i cant see any file called qwtplugin.pro. How should i proceed

bst
22nd October 2008, 13:03
Hi,

in the qwt main directory edit qwtconfig.pri and if necessary remove the #:


################################################## ####################
# If you want to build the Qwt designer plugin,
# enable the line below.
# Otherwise you have to build it from the designer directory.
################################################## ####################

#CONFIG += QwtDesigner

HTH, Bernd

jacek
22nd October 2008, 21:34
in the directory of designer , i cant see any file called qwtplugin.pro. How should i proceed
There's a designer.pro file. You can use it to build the plugin.

semden
23rd October 2008, 14:55
Thanks alot

tried the suggestions and now iam able to use the qwt widgets from the qt designer. But when i open the visual studio 2005 , i cant see the qwt widgets on the qt toolbox. what do i need to do to see it. Lastly iam not able to open the qwt examples from visual studio. How do i proceeded from here