author | eilers <eilers> | 2004-07-17 17:32:27 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-07-17 17:32:27 (UTC) |
commit | 0637a8d3c60bf4da6efb6c26edecfe613919c623 (patch) (side-by-side diff) | |
tree | 0e4141b629906b0eadcd1cc78ea230142227d963 | |
parent | 7d8125ae8cfffe5a7292db1cd353633188ff04e6 (diff) | |
download | opie-0637a8d3c60bf4da6efb6c26edecfe613919c623.zip opie-0637a8d3c60bf4da6efb6c26edecfe613919c623.tar.gz opie-0637a8d3c60bf4da6efb6c26edecfe613919c623.tar.bz2 |
Ok.. MAC handles even weak symbols differently..
Now this should handle mac and linux with qte 2.3.7 and above ..
-rw-r--r-- | library/qpeapplication.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
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 */ |