gallery-core.pro 746 B

12345678910111213141516171819202122232425262728293031323334353637
  1. QT += sql
  2. QT -= gui
  3. TEMPLATE = lib
  4. DEFINES += GALLERYCORE_LIBRARY
  5. CONFIG += c++17
  6. # You can make your code fail to compile if it uses deprecated APIs.
  7. # In order to do so, uncomment the following line.
  8. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  9. SOURCES += \
  10. AlbumDao.cpp \
  11. AlbumModel.cpp \
  12. DatabaseManager.cpp \
  13. Picture.cpp \
  14. Album.cpp \
  15. PictureDao.cpp \
  16. PictureModel.cpp
  17. HEADERS += \
  18. AlbumDao.h \
  19. AlbumModel.h \
  20. DatabaseManager.h \
  21. PictureDao.h \
  22. PictureModel.h \
  23. gallery-core_global.h \
  24. Picture.h \
  25. Album.h
  26. # Default rules for deployment.
  27. unix {
  28. target.path = /usr/lib
  29. }
  30. !isEmpty(target.path): INSTALLS += target