Hi, guys, I need some help!!!
I try to compile an application both in debug and release mode in Qt Creator 3.5.1 and get weird results.
If I just build a debug or release .exe file (foo.pro file to foo.exe), it's OK!
But if I try to change the name of target or add a .rc-file reference to the .pro file - I miss the compatibility tab of an application properties in windows.
As result, in that case I get a warning message from the windows user account control.
Sure I could just change the name of "compatible" .exe with a necessary name after compilation but I'd like to find out causes this strange behavior.
Do anybody have any ideas what's wrong? 
Compiler - mingw 4.9.2_32bit
OS -Windows 10
TARGET = FWUpdate #if added - compatibility property is lost!
TEMPLATE = app
QT += core network widgets gui serialport
INCLUDEPATH += c:/XOL/STM32/libusb_libs/dfu-util/src/ \
C:/libusb/include/
LIBS += -lVersion \
-lsetupapi \
-luser32 \
c:/libusb/lib/libusb-1.0.a \
c:/XOL/STM32/libusb_libs/build-libdfu-Desktop_Qt_5_5_1_MinGW_32bit-Debug/Win32/Debug/liblibdfu.a
HEADERS += ./emiter.h \
./cmndialog.h
SOURCES += ./cmndialog.cpp \
./main.cpp
FORMS += ./cmndialog.ui
DEPENDPATH += c:/libusb/include/
PRE_TARGETDEPS+= c:/libusb/lib/libusb-1.0.a \
c:/XOL/STM32/libusb_libs/build-libdfu-Desktop_Qt_5_5_1_MinGW_32bit-Debug/Win32/Debug/liblibdfu.a
RC_FILE += CMNDialog.rc
TARGET = FWUpdate #if added - compatibility property is lost!
TEMPLATE = app
QT += core network widgets gui serialport
INCLUDEPATH += c:/XOL/STM32/libusb_libs/dfu-util/src/ \
C:/libusb/include/
LIBS += -lVersion \
-lsetupapi \
-luser32 \
c:/libusb/lib/libusb-1.0.a \
c:/XOL/STM32/libusb_libs/build-libdfu-Desktop_Qt_5_5_1_MinGW_32bit-Debug/Win32/Debug/liblibdfu.a
HEADERS += ./emiter.h \
./cmndialog.h
SOURCES += ./cmndialog.cpp \
./main.cpp
FORMS += ./cmndialog.ui
DEPENDPATH += c:/libusb/include/
PRE_TARGETDEPS+= c:/libusb/lib/libusb-1.0.a \
c:/XOL/STM32/libusb_libs/build-libdfu-Desktop_Qt_5_5_1_MinGW_32bit-Debug/Win32/Debug/liblibdfu.a
RC_FILE += CMNDialog.rc
To copy to clipboard, switch view to plain text mode
Bookmarks