DEFINES += "WINVER=0x0500"
works for me.
This way, -DWINVER=0x0500
is added to the command line of the compiler, which is the syntax GCC/mingw expects for command line preprocessor definitions (see here for the details).
More Related Contents:
- How to specify different Debug/Release output directories in QMake .pro file
- QMake – how to copy a file to the output
- How to use QMake’s subdirs template?
- qmake pre-build step before ANY compilation
- QMake – How to add and use a variable into the .pro file
- C++ Qt – How to add “-std=c++11” to the makefile which is generated by qmake?
- How to convert qmake to cmake?
- Running a program/script from QMake
- How to execute shell command after compile finished from .pro in QT?
- trying to implement the canny edge using opencv on qt creator [closed]
- My signal / slot connection does not work
- Building Qt 5 on Linux, for Windows
- declare global property in QML for other QML files
- Tcp packets using QTcpSocket
- How do I copy object in Qt?
- Enabling JPEG support for QImage in py2exe-compiled Python scripts?
- Qt5 – setting background color to QPushButton and QCheckBox
- Qt 4: Move window without title bar
- QListView takes too long to update when given 100k items
- run apps using audio in a docker container
- How to make a Qt widget invisible without changing the position of the other Qt widgets?
- How to set stylesheet for the current item in QTableView
- paintEvent in QTableView derived class: Paint device returned engine == 0, type: 1
- Is there a way to access the image on the QWidget’s backing store?
- Console input with Qt Creator
- How to install a missing Qt module?
- Deploy Qt5 QML application
- Dynamic instantiation of QML objects?
- qfiledialog – Filtering Folders?
- Different delegates for QML ListView