Code Block |
---|
TEMPLATE = app
QT += sql
HEADERS = scooterwindow.h \
CDatabaseWorker.h \
tietokanta.h
SOURCES = main.cpp \
scooterwindow.cpp \
CDatabaseWorker.cpp \
tietokanta.cpp
|
Code Block |
---|
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
if (!LuoLiityntaTietokantaan()) return 1;
LuoTietokantaTaulu(0);
TaytaDemoDataa();
ScooterWindow window;
window.resize(800, 600);
window.show();
return app.exec();
}
|
...