[Qt-interest] newbee alert Qt-creator question
Andreas Pakulat
apaku at gmx.de
Wed Apr 13 20:22:33 CEST 2011
On 13.04.11 13:49:28, Doug Stewart wrote:
> I started up Qt4-creator on Ubuntu, and made a new gui project. I then
> clicked on Forms and opened the mainwindow.ui.
> I then dragged the KPlotWidget to the Form. I then tried to run to project.
>
> I get the following error:
>
> /home/doug/scope1a/ui_mainwindow.h:24: error: kplotwidget.h: No such file
> or directory
>
> Why ???
>
> Why does it show me widgets that I can't use????
Because you've installed plugins that provide those widgets, in
particular ones from KDE development packages. Thats also why they are
under a "KDE" group, you'll need to adjust the buildsystem to use the
includes and libraries from KDE to use the widget.
Andreas
More information about the Qt-interest-old
mailing list