QAD_SETUP_APPLICATION coding fix
This commit is contained in:
@@ -27,10 +27,10 @@
|
|||||||
|
|
||||||
//! Set QCoreApplication properties from CMake "deploy_properties"
|
//! Set QCoreApplication properties from CMake "deploy_properties"
|
||||||
//! Affect applicationName, organizationName and applicationVersion
|
//! Affect applicationName, organizationName and applicationVersion
|
||||||
#define QAD_SETUP_APPLICATION \
|
#define QAD_SETUP_APPLICATION \
|
||||||
QCoreApplication::setApplicationName(__TARGET_NAME__); \
|
QCoreApplication::setApplicationName(QString::fromLocal8Bit(__TARGET_NAME__)); \
|
||||||
QCoreApplication::setOrganizationName(__TARGET_COMPANY__); \
|
QCoreApplication::setOrganizationName(QString::fromLocal8Bit(__TARGET_COMPANY__)); \
|
||||||
QCoreApplication::setApplicationVersion(__TARGET_VERSION__);
|
QCoreApplication::setApplicationVersion(QString::fromLocal8Bit(__TARGET_VERSION__));
|
||||||
|
|
||||||
#if QT_VERSION_MAJOR <= 5
|
#if QT_VERSION_MAJOR <= 5
|
||||||
# define QT_MID_BUTTON Qt::MidButton
|
# define QT_MID_BUTTON Qt::MidButton
|
||||||
|
|||||||
Reference in New Issue
Block a user