File tree Expand file tree Collapse file tree 5 files changed +23
-6
lines changed
Expand file tree Collapse file tree 5 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,20 @@ CONFIG += c++11
2626
2727SOURCES += \
2828 main.cpp \
29- mainwindow.cpp
29+ mainwindow.cpp \
3030
3131HEADERS += \
3232 mainwindow.h \
33- variables.h
33+ variables.h \
3434
3535FORMS += \
3636 mainwindow.ui
3737
38+ RESOURCES += \
39+ src.qrc
40+
41+ RC_ICONS = resources/esp_upload.ico
42+
3843# Default rules for deployment.
3944qnx: target.path = /tmp/ $${TARGET }/bin
4045else: unix :!android: target.path = /opt/ $${TARGET }/bin
Original file line number Diff line number Diff line change 66 <rect >
77 <x >0</x >
88 <y >0</y >
9- <width >690 </width >
10- <height >429 </height >
9+ <width >678 </width >
10+ <height >417 </height >
1111 </rect >
1212 </property >
1313 <property name =" windowTitle" >
1414 <string >OTA Upload</string >
1515 </property >
16+ <property name =" windowIcon" >
17+ <iconset resource =" src.qrc" >
18+ <normaloff >:/resources/esp_upload.ico</normaloff >:/resources/esp_upload.ico</iconset >
19+ </property >
1620 <widget class =" QWidget" name =" centralWidget" >
1721 <layout class =" QHBoxLayout" name =" horizontalLayout" >
1822 <property name =" leftMargin" >
3034 <item >
3135 <widget class =" QTabWidget" name =" twTabs" >
3236 <property name =" currentIndex" >
33- <number >1 </number >
37+ <number >0 </number >
3438 </property >
3539 <widget class =" QWidget" name =" tab" >
3640 <attribute name =" title" >
@@ -942,6 +946,8 @@ output</string>
942946 <tabstop >twTabs</tabstop >
943947 <tabstop >leImagePath</tabstop >
944948 </tabstops >
945- <resources />
949+ <resources >
950+ <include location =" src.qrc" />
951+ </resources >
946952 <connections />
947953</ui >
Original file line number Diff line number Diff line change 1+ <RCC>
2+ <qresource prefix="/">
3+ <file>resources/esp_upload.png</file>
4+ <file>resources/esp_upload.ico</file>
5+ </qresource>
6+ </RCC>
You can’t perform that action at this time.
0 commit comments