Skip to content

Commit

Permalink
chore: adjusted the project directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
BLumia committed Nov 5, 2020
1 parent 1066fa4 commit 8c152dc
Show file tree
Hide file tree
Showing 29 changed files with 213 additions and 213 deletions.
52 changes: 26 additions & 26 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ set (QT_MINIMUM_VERSION "5.10")
find_package(Qt5 ${QT_MINIMUM_VERSION} CONFIG REQUIRED Widgets Svg LinguistTools)

set (PPIC_CPP_FILES
main.cpp
mainwindow.cpp
graphicsview.cpp
graphicsscene.cpp
bottombuttongroup.cpp
navigatorview.cpp
opacityhelper.cpp
toolbutton.cpp
settings.cpp
settingsdialog.cpp
aboutdialog.cpp
metadatamodel.cpp
metadatadialog.cpp
app/main.cpp
app/mainwindow.cpp
app/graphicsview.cpp
app/graphicsscene.cpp
app/bottombuttongroup.cpp
app/navigatorview.cpp
app/opacityhelper.cpp
app/toolbutton.cpp
app/settings.cpp
app/settingsdialog.cpp
app/aboutdialog.cpp
app/metadatamodel.cpp
app/metadatadialog.cpp
)

set (PPIC_HEADER_FILES
mainwindow.h
graphicsview.h
graphicsscene.h
bottombuttongroup.h
navigatorview.h
opacityhelper.h
toolbutton.h
settings.h
settingsdialog.h
aboutdialog.h
metadatamodel.h
metadatadialog.h
app/mainwindow.h
app/graphicsview.h
app/graphicsscene.h
app/bottombuttongroup.h
app/navigatorview.h
app/opacityhelper.h
app/toolbutton.h
app/settings.h
app/settingsdialog.h
app/aboutdialog.h
app/metadatamodel.h
app/metadatadialog.h
)

set (PPIC_QRC_FILES
Expand All @@ -53,7 +53,7 @@ set (PPIC_RC_FILES
set (EXE_NAME ppic)

# Translation
file (GLOB PPIC_TS_FILES languages/*.ts)
file (GLOB PPIC_TS_FILES translations/*.ts)
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})

qt5_create_translation(PPIC_QM_FILES ${PPIC_CPP_FILES_FOR_I18N} ${PPIC_TS_FILES})
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
54 changes: 27 additions & 27 deletions pineapple-pictures.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += c++11 lrelease embed_translations

SOURCES += \
aboutdialog.cpp \
main.cpp \
mainwindow.cpp \
graphicsview.cpp \
bottombuttongroup.cpp \
graphicsscene.cpp \
navigatorview.cpp \
opacityhelper.cpp \
toolbutton.cpp \
settings.cpp \
settingsdialog.cpp \
metadatamodel.cpp \
metadatadialog.cpp
app/aboutdialog.cpp \
app/main.cpp \
app/mainwindow.cpp \
app/graphicsview.cpp \
app/bottombuttongroup.cpp \
app/graphicsscene.cpp \
app/navigatorview.cpp \
app/opacityhelper.cpp \
app/toolbutton.cpp \
app/settings.cpp \
app/settingsdialog.cpp \
app/metadatamodel.cpp \
app/metadatadialog.cpp

HEADERS += \
aboutdialog.h \
mainwindow.h \
graphicsview.h \
bottombuttongroup.h \
graphicsscene.h \
navigatorview.h \
opacityhelper.h \
toolbutton.h \
settings.h \
settingsdialog.h \
metadatamodel.h \
metadatadialog.h
app/aboutdialog.h \
app/mainwindow.h \
app/graphicsview.h \
app/bottombuttongroup.h \
app/graphicsscene.h \
app/navigatorview.h \
app/opacityhelper.h \
app/toolbutton.h \
app/settings.h \
app/settingsdialog.h \
app/metadatamodel.h \
app/metadatadialog.h

TRANSLATIONS = \
languages/PineapplePictures.ts \
languages/PineapplePictures_zh_CN.ts
translations/PineapplePictures.ts \
translations/PineapplePictures_zh_CN.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
Expand Down
Loading

0 comments on commit 8c152dc

Please sign in to comment.