Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Tee Qt Greatorilla GUI-sovellus (Window tai Dialog). Lisää dialogiin  QwtPlot objekti valikosta (jos QwtPlot ei näy, niin olet asentanut Qwt:n väärin)

...

Code Block
#-------------------------------------------------
#
# Project created by QtCreator 2011-12-14T12:12:07
#
#-------------------------------------------------

QT       += core gui

TARGET = qwtHarjoitus
TEMPLATE = app


#lisää kaksi seuraavaa riviä, mutta tarkasta ensin, että polut ovat oikein
INCLUDEPATH += /home/koneauto/QtSDK/qwt-6.0.1/src

LIBS += -L/home/koneauto/QtSDK/qwt-6.0.1/lib -lqwt

SOURCES += main.cpp\
        dialog.cpp

HEADERS  += dialog.h

FORMS    += dialog.ui

...