Commit 70961ef0c5e1040f14cd6bceaa726de14936c245
1 parent
850436fc
Added first model (Table)
Showing
5 changed files
with
5 additions
and
1 deletions
.gitignore
0 → 100644
CMakeLists.txt
| @@ -7,15 +7,17 @@ find_package(Qt5 "5.15.0" COMPONENTS Core CONFIG REQUIRED ) | @@ -7,15 +7,17 @@ find_package(Qt5 "5.15.0" COMPONENTS Core CONFIG REQUIRED ) | ||
| 7 | 7 | ||
| 8 | include_directories( SYSTEM | 8 | include_directories( SYSTEM |
| 9 | ${Qt5Core_INCLUDE_DIRS} | 9 | ${Qt5Core_INCLUDE_DIRS} |
| 10 | -} | 10 | +) |
| 11 | 11 | ||
| 12 | include(compiler) | 12 | include(compiler) |
| 13 | 13 | ||
| 14 | set( SRC_LIST | 14 | set( SRC_LIST |
| 15 | + ${CMAKE_SOURCE_DIR}/src/tablemodel/tablemodel.cpp | ||
| 15 | ) | 16 | ) |
| 16 | 17 | ||
| 17 | include(qtmoc) | 18 | include(qtmoc) |
| 18 | create_mocs( SRC_LIST MOC_LIST | 19 | create_mocs( SRC_LIST MOC_LIST |
| 20 | + ${CMAKE_SOURCE_DIR}/src/tablemodel/tablemodel.h | ||
| 19 | ) | 21 | ) |
| 20 | 22 | ||
| 21 | link_directories( | 23 | link_directories( |
include/datamodels.h
0 → 100644
src/tablemodel/tablemodel.cpp
0 → 100644
src/tablemodel/tablemodel.h
0 → 100644