From 4adeb9ab233b471db891e4798466df0555c761a6 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 8 Apr 2024 22:27:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B2=D0=BC=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D1=8C=20=D1=81=20=D0=A1=D0=BC?= =?UTF-8?q?=D0=BE=D0=BB=D0=B5=D0=BD=D1=81=D0=BA=201.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/myx-example-qt-console/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/myx-example-qt-console/main.cpp b/src/myx-example-qt-console/main.cpp index c60880d..d79a82a 100644 --- a/src/myx-example-qt-console/main.cpp +++ b/src/myx-example-qt-console/main.cpp @@ -3,14 +3,18 @@ #include #include +#if QT_VERSION >= 0x051000 #include +#endif int main( int argc, char** argv ) { QCoreApplication app( argc, argv ); qDebug() << QString( "Qt version: %1.%2.%3" ).arg( QT_VERSION_MAJOR ).arg( QT_VERSION_MINOR ).arg( QT_VERSION_PATCH ); + #if QT_VERSION >= 0x051000 qDebug() << QString( "Min Linux: %1.%2.%3" ).arg( MINLINUX_MAJOR ).arg( MINLINUX_MINOR ).arg( MINLINUX_PATCH ); + #endif return( 0 ); }