When you hit the close button on the window, it hides in the system tray, or when you hit File>Hide or Ctrl+H while the application has focus. I have some testing code in to see why the icon isn't being set, but still can't figure it out. The icon is definitely loading, it's just when I set it to the icon it's no visible. I'm even not getting console output saying no icon is being set.
22 lines
416 B
Prolog
22 lines
416 B
Prolog
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2013-12-22T20:34:26
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
TARGET = FileWatcher
|
|
TEMPLATE = app
|
|
|
|
SOURCES += ../src/main.cpp \
|
|
../src/mainwindow.cpp
|
|
|
|
HEADERS += ../src/mainwindow.h
|
|
|
|
FORMS += ../src/mainwindow.ui
|
|
|
|
RESOURCES += \
|
|
res.qrc
|