1 # (c) Copyright Juergen Hunold 2008
2 # Use, modification, and distribution are subject to the
3 # Boost Software License, Version 1.0. (See accompanying file
4 # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
10 path-constant CWD : . ;
13 if [ qt5.initialized ]
15 use-project /boost : ../../../.. ;
19 <library>/boost/test//boost_unit_test_framework
23 # Check for explicit libraries, <use>/qt should not link any lib
24 [ link-fail qtcorefail.cpp : <use>/qt ]
26 [ run qtcore.cpp /qt5//QtCore ]
27 [ run qtsql.cpp /qt5//QtSql ]
28 [ run qtxml.cpp /qt5//QtXml ]
29 [ run qtnetwork.cpp /qt5//QtNetwork ]
30 [ run qtscript.cpp /qt5//QtScript ]
31 [ run qtscripttools.cpp /qt5//QtScriptTools ]
32 [ run qtxmlpatterns.cpp /qt5//QtXmlPatterns ]
34 # ToDo: runable example code
35 [ link qtsvg.cpp /qt5//QtSvg ]
36 [ link qtwidgets.cpp /qt5//QtWidgets ]
38 # Multimedia toolkits.
39 [ link qtwebkit.cpp /qt5//QtWebKit ]
40 [ link qtwebkitwidgets.cpp /qt5//QtWebKitWidgets ]
41 [ link qtmultimedia.cpp /qt5//QtMultimedia ]
44 [ link qtdeclarative.cpp /qt5//QtDeclarative ]
47 [ run qtquick.cpp /qt5//QtQuick : -platform offscreen : $(CWD)/qtquick.qml ]
50 [ link qthelp.cpp /qt5//QtHelp ]
52 # Testing using QtTest. Simple sample
53 # ToDo: better support for "automoc" aka '#include "qttest.moc"'
54 [ run qttest.cpp [ cast _ moccable5-cpp : qttest.cpp ] /qt5//QtTest : : : <define>TEST_MOCK ]
57 [ run mock.cpp mock.h /qt5//QtCore : : : <define>TEST_MOCK ]
59 # Test resource compiler
60 [ run rcc.cpp rcc.qrc /qt5//QtCore : : : <rccflags>"-compress 9 -threshold 10" ]
64 : # usage-requirements