diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-10-13 00:52:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-10-13 00:52:16 (GMT) |
commit | a311b854e0886f0498c068af5b489af36a96b845 (patch) | |
tree | b4a5d8012e655bba948bd51da1e7eda5477e8751 /tests/auto/declarative/qdeclarativemoduleplugin | |
parent | ff41e5c637a522ce596a2f1bf5a6d8d242828c27 (diff) | |
download | Qt-a311b854e0886f0498c068af5b489af36a96b845.zip Qt-a311b854e0886f0498c068af5b489af36a96b845.tar.gz Qt-a311b854e0886f0498c068af5b489af36a96b845.tar.bz2 |
Compile on WinCE
Diffstat (limited to 'tests/auto/declarative/qdeclarativemoduleplugin')
-rw-r--r-- | tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp index 51f66a5..85fa718 100644 --- a/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp +++ b/tests/auto/declarative/qdeclarativemoduleplugin/tst_qdeclarativemoduleplugin.cpp @@ -131,10 +131,10 @@ void tst_qdeclarativemoduleplugin::incorrectPluginCase() QList<QDeclarativeError> errors = component.errors(); QCOMPARE(errors.count(), 1); -#if defined(Q_OS_MAC) || defined(Q_OS_WIN) +#if defined(Q_OS_MAC) || defined(Q_OS_WIN32) #if defined(Q_OS_MAC) QString libname = "libPluGin.dylib"; -#elif defined(Q_OS_WIN) +#elif defined(Q_OS_WIN32) QString libname = "PluGin.dll"; #endif QString expectedError = QLatin1String("plugin cannot be loaded for module \"com.nokia.WrongCase\": File name case mismatch for \"") + QFileInfo(__FILE__).absoluteDir().filePath("imports/com/nokia/WrongCase/" + libname) + QLatin1String("\""); |