From 7f0fd90e734437a07ae2abcb6dc7e170e8919dcd Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Wed, 28 Feb 2018 21:43:49 +0100 Subject: [PATCH] Fixed project to compile on Linux. --- RecipeDB.pro | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/RecipeDB.pro b/RecipeDB.pro index a717ed2..8b1d1c5 100644 --- a/RecipeDB.pro +++ b/RecipeDB.pro @@ -12,8 +12,7 @@ TARGET = RecipeDB TEMPLATE = app -SOURCES += SQLite/sqlite3.c \ - model/recipe/instruction.cpp \ +SOURCES += model/recipe/instruction.cpp \ model/recipe/recipe.cpp \ userInterface/mainwindow.cpp \ main.cpp \ @@ -22,11 +21,10 @@ SOURCES += SQLite/sqlite3.c \ model/recipe/ingredients/ingredient.cpp \ model/recipe/ingredients/ingredientlistmodel.cpp \ model/recipe/ingredients/recipeingredient.cpp \ - model/recipe/tags/recipetag.cpp + model/recipe/tags/recipetag.cpp \ + SQLite/sqlite3.c -HEADERS += SQLite/sqlite3.h \ - SQLite/sqlite3ext.h \ - model/recipe/instruction.h \ +HEADERS += model/recipe/instruction.h \ model/recipe/recipe.h \ userInterface/mainwindow.h \ model/database/database.h \ @@ -34,7 +32,11 @@ HEADERS += SQLite/sqlite3.h \ model/recipe/ingredients/ingredient.h \ model/recipe/ingredients/ingredientlistmodel.h \ model/recipe/ingredients/recipeingredient.h \ - model/recipe/tags/recipetag.h + model/recipe/tags/recipetag.h \ + SQLite/sqlite3.h \ + SQLite/sqlite3ext.h + +LIBS += -ldl \ FORMS += gui/mainwindow.ui