diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-03 14:36:15 (GMT) |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-03 14:36:15 (GMT) |
commit | f0844f9da7a834c282f6f04b2676f28de444e9dc (patch) | |
tree | 8e121429e25959043cc04c4364adbe8239e44a67 /mkspecs | |
parent | fe763ef6cd255ccb54d0de1894c1a772f959585e (diff) | |
parent | f360180890298618ef3284c08789c2a243e1ba9d (diff) | |
download | Qt-f0844f9da7a834c282f6f04b2676f28de444e9dc.zip Qt-f0844f9da7a834c282f6f04b2676f28de444e9dc.tar.gz Qt-f0844f9da7a834c282f6f04b2676f28de444e9dc.tar.bz2 |
Merge commit 'qt/4.6' into kinetic-declarativeui
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/common/symbian/fixed_stdlib.h | 64 | ||||
-rw-r--r-- | mkspecs/features/symbian/moc.prf | 12 | ||||
-rw-r--r-- | mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm | 4 |
3 files changed, 8 insertions, 72 deletions
diff --git a/mkspecs/common/symbian/fixed_stdlib.h b/mkspecs/common/symbian/fixed_stdlib.h deleted file mode 100644 index 8b9c68e..0000000 --- a/mkspecs/common/symbian/fixed_stdlib.h +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the makespecs of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** No Commercial Usage -** This file contains pre-release code and may not be distributed. -** You may use this file in accordance with the terms and conditions -** contained in the Technology Preview License Agreement accompanying -** this package. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain -** additional rights. These rights are described in the Nokia Qt LGPL -** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this -** package. -** -** If you have questions regarding the use of this file, please contact -** Nokia at qt-info@nokia.com. -** -** -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef FIXED_STDLIB_H -#define FIXED_STDLIB_H - -// This hack fixes defect in Symbian stdlib.h. The original file -// does not work correctly when intermixing C and C++ (STL). Remove the hack -// when Open C / C++ team has fixed the defect. - -// If _WCHAR_T_DECLARED is defined, undef it and store information that we -// need to revert the _WCHAR_T_DECLARED define after include -# ifdef _WCHAR_T_DECLARED -# define QT_REVERT_WCHAR_T_DECLARED -# undef _WCHAR_T_DECLARED -# endif //_WCHAR_T_DECLARED - -#include <stdlib.h> - -// Revert _WCHAR_T_DECLARED if necessary -# ifdef QT_REVERT_WCHAR_T_DECLARED -# define _WCHAR_T_DECLARED -# undef QT_REVERT_WCHAR_T_DECLARED -# endif //QT_REVERT_WCHAR_T_DECLARED - -#endif diff --git a/mkspecs/features/symbian/moc.prf b/mkspecs/features/symbian/moc.prf index 089dddc..9c21ed7 100644 --- a/mkspecs/features/symbian/moc.prf +++ b/mkspecs/features/symbian/moc.prf @@ -1,16 +1,16 @@ load(moc) -RET = $$find(MOC_DIR, "\.[a-z]") +RET = $$find(MOC_DIR, "(/|^)\.[^/]+/?$") !isEmpty(RET):{ - error("Symbian does not support directories starting with a dot. Please set MOC_DIR to a different value in your profile.") + error("Symbian does not support directories starting with a dot. Please set MOC_DIR to a different value in your profile. MOC_DIR: $$MOC_DIR") } -RET = $$find(RCC_DIR, "\.[a-z]") +RET = $$find(RCC_DIR, "(/|^)\.[^/]+/?$") !isEmpty(RET):{ - error("Symbian does not support directories starting with a dot. Please set RCC_DIR to a different value in your profile.") + error("Symbian does not support directories starting with a dot. Please set RCC_DIR to a different value in your profile. RCC_DIR: $$RCC_DIR") } -RET = $$find(OBJECTS_DIR, "\.[a-z]") +RET = $$find(OBJECTS_DIR, "(/|^)\.[^/]+/?$") !isEmpty(RET):{ - error("Symbian does not support directories starting with a dot. Please set OBJECTS_DIR to a different value in your profile.") + error("Symbian does not support directories starting with a dot. Please set OBJECTS_DIR to a different value in your profile. OBJECTS_DIR: $$OBJECTS_DIR") } diff --git a/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm b/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm index 96eb189..0abc7c4 100644 --- a/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm +++ b/mkspecs/symbian-sbsv2/flm/qt/qmake_store_build.flm @@ -27,10 +27,10 @@ $(STORE_BUILD_TARGET): echo "# Name : .make.cache" >> $(CACHE_FILENAME) && \ echo "# Part of : " >> $(CACHE_FILENAME) && \ echo "# Description : This file is used to cache last build target for" >> $(CACHE_FILENAME) && \ - echo "# make sisx target." >> $(CACHE_FILENAME) && \ + echo "# make sis target." >> $(CACHE_FILENAME) && \ echo "# Version : " >> $(CACHE_FILENAME) && \ echo "# ==============================================================================" >> $(CACHE_FILENAME) && \ - echo QT_SISX_TARGET ?= $(VISUAL_CFG)-$(PLATFORM_PATH) >> $(CACHE_FILENAME) \ + echo QT_SIS_TARGET ?= $(VISUAL_CFG)-$(PLATFORM_PATH) >> $(CACHE_FILENAME) \ $(call endrule,qmake_store_build) endef |