#include "userInterface/mainwindow.h" #include #include "model/database/database.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); Database db("test.db"); vector ri; ri.push_back(RecipeIngredient("flour", "grains", 3.0f, UnitOfMeasure("cup", "cups", "c"))); Recipe rec("Example", ri, Instruction("Hello world"), QImage(), vector(), QDate::currentDate(), QTime(0, 30), QTime(0, 25), 10.0f); return a.exec(); }