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