restructured the project

master
Qiaoyong Zhong 9 years ago
parent 2672c5abac
commit 1403770d04

@ -2,9 +2,10 @@ TEMPLATE = app
QT += qml quick widgets QT += qml quick widgets
SOURCES += main.cpp \ SOURCES += \
myclass.cpp \ src/main.cpp \
settings.cpp src/myclass.cpp \
src/settings.cpp
lupdate_only { lupdate_only {
SOURCES += qml/main.qml \ SOURCES += qml/main.qml \
@ -22,12 +23,12 @@ QML_IMPORT_PATH =
include(deployment.pri) include(deployment.pri)
# Setting the application icon # Setting the application icon
win32: RC_ICONS = icons/2048-qt.ico # On Windows win32: RC_ICONS = res/icons/2048-qt.ico # On Windows
macx: ICON = icons/2048-qt.ico # On Mac OSX macx: ICON = res/icons/2048-qt.ico # On Mac OSX
HEADERS += \ HEADERS += \
myclass.h \ src/settings.h \
settings.h src/myclass.h
TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts TRANSLATIONS = ts/2048-qt_zh_CN.ts ts/2048-qt_ru_RU.ts

Before

Width:  |  Height:  |  Size: 511 B

After

Width:  |  Height:  |  Size: 511 B

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -5,6 +5,6 @@
<file>qml/main.qml</file> <file>qml/main.qml</file>
<file>qml/2048.js</file> <file>qml/2048.js</file>
<file>qml/Tile.qml</file> <file>qml/Tile.qml</file>
<file>fonts/DroidSansFallback.ttf</file> <file>res/fonts/DroidSansFallback.ttf</file>
</qresource> </qresource>
</RCC> </RCC>

Loading…
Cancel
Save