tests/auto/qsqldatabase/qsqldatabase.pro
author Craig Heath <craigh@symbian.org>
Wed, 16 Jun 2010 16:18:05 +0100
branchGCC_SURGE
changeset 26 8776df5ac359
parent 0 1918ee327afb
permissions -rw-r--r--
Bug 2955. Workaround for lack of atomic operations in GCCE standard libraries (fall back to default use of Mutex)

load(qttest_p4)
SOURCES  += tst_qsqldatabase.cpp

QT += sql

contains(QT_CONFIG, qt3support): QT += qt3support

win32: {
   !wince*: LIBS += -lws2_32
   else: LIBS += -lws2
}

wince*: {
   DEPLOYMENT_PLUGIN += qsqlite

   testData.sources = testdata
   testData.path = .

   DEPLOYMENT += testData
}

symbian {
	TARGET.EPOCHEAPSIZE=5000 5000000
	TARGET.EPOCSTACKSIZE=50000

    qt_not_deployed {
        contains(S60_VERSION, 3.1)|contains(S60_VERSION, 3.2)|contains(S60_VERSION, 5.0) {
            sqlite.path = /sys/bin
            sqlite.sources = sqlite3.dll
            DEPLOYMENT += sqlite
        }
    }
}