Changeset 2a436ea693 in tspsg for src/main.cpp


Ignore:
Timestamp:
Sep 6, 2010, 10:23:38 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
a713b103e8
Parents:
bbac1ebb13
git-author:
Oleksii Serdiuk <contacts@…> (09/06/10 22:23:38)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:
  • The minimum required version of Qt is now 4.5.0.
  • Updated source code to be compatible with the minimum required version of Qt.
  • Updated documentation to reflect these changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    rbbac1ebb13 r2a436ea693  
    2323
    2424#include "mainwindow.h"
    25 #if QT_VERSION < 0x040500
    26         #ifdef _MSC_VER
    27                 #pragma message("WARNING: You are using Qt version < 4.5. Application will not support some non-critical features.")
    28         #elif (defined(__GNUC__) || defined(__MINGW32__))
    29                 #warning WARNING: You are using Qt version < 4.5. Application will not support some non-critical features.
     25#if QT_VERSION < 0x040600
     26        #ifdef Q_CC_MSVC
     27                #pragma message("WARNING: You are using Qt version < 4.6. Application will not support some non-critical features.")
     28        #elif defined(Q_CC_GNU)
     29                #warning WARNING: You are using Qt version < 4.6. Application will not support some non-critical features.
    3030        #else
    31                 #error You are using Qt version < 4.5. Application will not support some non-critical features. To continue, please, comment line 31 at main.cpp.
     31                #error You are using Qt version < 4.6. Application will not support some non-critical features. To continue, please, comment line 31 at main.cpp.
    3232        #endif
    3333#endif
Note: See TracChangeset for help on using the changeset viewer.