[Qt-interest] newbee alert Qt-creator question
Andreas Pakulat
apaku at gmx.de
Wed Apr 13 21:13:46 CEST 2011
On 13.04.11 14:36:21, Doug Stewart wrote:
> On Wed, Apr 13, 2011 at 2:22 PM, Andreas Pakulat <apaku at gmx.de> wrote:
>
> > 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.
> >
> how do you " adjust the buildsystem to use the
> includes and libraries from KDE to use the widget"
The documentation for QMake and its buildsystem can be found in
assistant or online:
http://doc.qt.nokia.com/4.7/qmake-manual.html
The alternative would be using CMake, there's loads of documentation for
writing KDE apps at http://techbase.kde.org/ just look into the Getting
started and Development sections.
Andreas
More information about the Qt-interest-old
mailing list