Missing compatibility tab in application properties in Windows 10
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
Code:
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
Re: Missing compatibility tab in application properties in Windows 10
I'm not so sure about this but you can make a try. I just found it thru a research online. It is said that for some reasons some .exe does not show the compatibility tab. One way is to run the troubleshooter in the right click menu of the .exe and choose your compatibility modes. Other option is to read about " How to Set Compatibility Mode for Apps in Windows 10". I hope that can help you either ways about your inquiries.