[Qt-interest] QTest and QScript
Rohan McGovern
rohan.mcgovern at nokia.com
Wed Aug 25 07:33:46 CEST 2010
ivan demakov said:
> I get the following messages from test application (windows version):
>
> Config: Using QTest library 4.6.3, Qt 4.6.3
> QScriptEngine: Must construct a Q(Core)Application before a QScriptEngine
>
> Hmm, QAplication really need to use QScriptEngine?
No, the other way around, QScriptEngine needs to use a
Q(Core)Application.
> And anyway my main function looks like this:
>
> QTEST_MAIN(Test1)
>
Nothing wrong with that.
Maybe you have a QScriptEngine somewhere which is being statically
initialized (i.e. constructed before main()) ?
--
Rohan McGovern
QA Engineer
Qt Development Frameworks, Nokia
More information about the Qt-interest-old
mailing list