making config.h C compatible
This commit is contained in:
parent
196cb8bc55
commit
caaa6a1d85
2 changed files with 6 additions and 0 deletions
5
config.h
5
config.h
|
@ -18,7 +18,10 @@
|
|||
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#if __cplusplus
|
||||
#include <QString>
|
||||
#endif
|
||||
|
||||
#ifndef GTA5SYNC_APPVENDOR
|
||||
#define GTA5SYNC_APPVENDOR "Syping"
|
||||
|
@ -44,6 +47,7 @@
|
|||
#define GTA5SYNC_APPVER "1.6.0"
|
||||
#endif
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef GTA5SYNC_BUILDTYPE_REL
|
||||
#ifndef GTA5SYNC_BUILDTYPE
|
||||
#define GTA5SYNC_BUILDTYPE QT_TRANSLATE_NOOP("AboutDialog", "Release")
|
||||
|
@ -146,5 +150,6 @@
|
|||
#ifndef GTA5SYNC_BUILDSTRING
|
||||
#define GTA5SYNC_BUILDSTRING QString("%1, %2").arg(QT_VERSION_STR, GTA5SYNC_COMPILER)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // CONFIG_H
|
||||
|
|
|
@ -26,6 +26,7 @@ TARGET = gta5view
|
|||
TEMPLATE = app
|
||||
|
||||
HEADERS += config.h
|
||||
PRECOMPILED_HEADER += config.h
|
||||
|
||||
SOURCES += main.cpp \
|
||||
AboutDialog.cpp \
|
||||
|
|
Loading…
Reference in a new issue