From 0637a8d3c60bf4da6efb6c26edecfe613919c623 Mon Sep 17 00:00:00 2001 From: eilers Date: Sat, 17 Jul 2004 17:32:27 +0000 Subject: Ok.. MAC handles even weak symbols differently.. Now this should handle mac and linux with qte 2.3.7 and above .. --- (limited to 'library/qpeapplication.cpp') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index db8297f..cfe0497 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1314,18 +1314,17 @@ void QPEApplication::reset() { applyStyle(); } -#if QT_VERSION > 238 +#if (QT_VERSION < 238) & Q_OS_MACX +bool qt_left_hand_scrollbars = false; +#else #ifdef Q_OS_MACX #define WEAK_SYMBOL __attribute__((weak_import)) #else #define WEAK_SYMBOL __attribute__((weak)) #endif - extern bool qt_left_hand_scrollbars WEAK_SYMBOL; - -#else -bool qt_left_hand_scrollbars = false; #endif + /*! \internal */ -- cgit v0.9.0.2