Added application icon
This commit is contained in:
parent
dfd9ea92db
commit
9eaf537611
|
@ -9,6 +9,8 @@ QMAKE_CXXFLAGS += /WX
|
||||||
DEFINES += PWE_EDITOR
|
DEFINES += PWE_EDITOR
|
||||||
RESOURCES += Icons.qrc
|
RESOURCES += Icons.qrc
|
||||||
|
|
||||||
|
win32: RC_ICONS += icons/AppIcon.ico
|
||||||
|
|
||||||
CONFIG += console
|
CONFIG += console
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
DESTDIR = $$PWD/../../bin
|
DESTDIR = $$PWD/../../bin
|
||||||
|
|
|
@ -30,5 +30,6 @@
|
||||||
<file>icons/SelectMode.png</file>
|
<file>icons/SelectMode.png</file>
|
||||||
<file>icons/POI Important.png</file>
|
<file>icons/POI Important.png</file>
|
||||||
<file>icons/POI Normal.png</file>
|
<file>icons/POI Normal.png</file>
|
||||||
|
<file>icons/AppIcon.ico</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
|
@ -27,6 +27,7 @@ int main(int argc, char *argv[])
|
||||||
// Create application
|
// Create application
|
||||||
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
app.setWindowIcon(QIcon(":/icons/AppIcon.ico"));
|
||||||
|
|
||||||
// Init log
|
// Init log
|
||||||
bool Initialized = Log::InitLog("primeworldeditor.log");
|
bool Initialized = Log::InitLog("primeworldeditor.log");
|
||||||
|
|
Loading…
Reference in New Issue