Results 1 to 6 of 6

Thread: problem configuring the qwt plugin for designer

  1. #1
    Join Date
    Oct 2008
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default problem configuring the qwt plugin for designer

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem configuring the qwt plugin for designer

    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.

  3. #3
    Join Date
    Oct 2008
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem configuring the qwt plugin for designer

    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

  4. #4
    Join Date
    Apr 2007
    Location
    Ilsfeld, Germany
    Posts
    16
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem configuring the qwt plugin for designer

    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

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem configuring the qwt plugin for designer

    Quote Originally Posted by semden View Post
    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.

  6. #6
    Join Date
    Oct 2008
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem configuring the qwt plugin for designer

    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

Similar Threads

  1. problem loading custom plugin on Qt Designer 4
    By raman_31181 in forum Qt Tools
    Replies: 18
    Last Post: 26th September 2008, 09:42
  2. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  3. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05

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.