Page 1 of 2 12 LastLast
Results 1 to 20 of 39

Thread: 64-bit Qt for windows: QtScript crashes.

  1. #1
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default 64-bit Qt for windows: QtScript crashes.

    Hello.

    I have compiled Qt for 64-bit architecture under windows and all works fine except QtScript. The following simple code, working perfectly with 32-bit Qt for windows installed from qtsoftware.com, crashes if compiled with 64-bit Qt . Maybe it's an error in my code? Or Qt is not compatible with 64-bit? Or it is a bug and i need to submit it somehow?

    Qt console project.
    main.h

    Qt Code:
    1. #pragma once
    2.  
    3. #include <QObject>
    4. #include <QScriptEngine>
    5.  
    6. class Script : public QObject
    7. {
    8. Q_OBJECT;
    9. public slots: void Test();
    10. private: QScriptEngine m_oEngine;
    11. };
    12.  
    13. class App : public QObject
    14. {
    15. Q_OBJECT;
    16. signals: void ScriptTest();
    17. protected: void timerEvent( QTimerEvent* );
    18. };
    To copy to clipboard, switch view to plain text mode 

    main.cpp

    Qt Code:
    1. #include <QtCore/QCoreApplication>
    2. #include <QThread>
    3. #include "main.h"
    4.  
    5. void Script::Test()
    6. {
    7. QString sScript = "function OnStart() { var a = [ [ 0 ] ]; "
    8. "for( var i = 0; i < 3; i ++ ) { for( var j = 0; j < 100; j ++ ) "
    9. "{ \"a\" + a[ 0 ][ 0 ]; } } }";
    10. m_oEngine.evaluate( sScript );
    11. QScriptValue oFnStart = m_oEngine.evaluate( "OnStart" );
    12. oFnStart.call();
    13. }
    14.  
    15. void App::timerEvent( QTimerEvent* ) { ScriptTest(); }
    16.  
    17. int main(int argc, char *argv[])
    18. {
    19. QCoreApplication a(argc, argv);
    20. QThread scriptThread;
    21. scriptThread.start();
    22. Script script;
    23. script.moveToThread( & scriptThread );
    24. App app;
    25. script.connect( & app, SIGNAL( ScriptTest() ), SLOT( Test() ) );
    26. app.startTimer( 50 );
    27. return a.exec();
    28. }
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Where does it crash exactly?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Inside QtScript internals. Call stack:

    0 QtScriptd4!QTJSC::JSValue::get jsobject.h 641 0x1800b313a
    1 QtScriptd4!QTJSC::JSValue::get jsobject.h 628 0x1800b304d
    2 QtScriptd4!QTJSC::Interpreter::privateExecute interpreter.cpp 2539 0x1800a6c7e
    3 QtScriptd4!QTJSC::Interpreter::execute interpreter.cpp 753 0x18009fa53
    4 QtScriptd4!QTJSC::JSFunction::call jsfunction.cpp 120 0x1801018ad
    5 QtScriptd4!QTJSC::call calldata.cpp 62 0x1800c7d06
    6 QtScriptd4!QScriptValue::call qscriptvalue.cpp 1880 0x1801b9636
    7 qt_script_test!Script::Test main.cpp 12 0x14000126d
    8 qt_script_test!Script::qt_metacall moc_main.cpp 75 0x1400019d3
    9 QtCored4!QMetaObject::metacall qmetaobject.cpp 238 0x672219c1
    10 QtCored4!QMetaCallEvent::placeMetaCall qobject.cpp 575 0x6723643c
    11 QtCored4!QObject::event qobject.cpp 1252 0x672378ad
    12 QtCored4!QCoreApplicationPrivate::notify_helper qcoreapplication.cpp 840 0x67216cc6
    13 QtCored4!QCoreApplication::notify qcoreapplication.cpp 785 0x67216a49
    14 QtCored4!QCoreApplication::notifyInternal qcoreapplication.cpp 704 0x6721693a
    15 QtCored4!QCoreApplication::sendEvent qcoreapplication.h 215 0x6721cd20
    16 QtCored4!QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp 1345 0x67217d7e
    17 QtCored4!qt_internal_proc qeventdispatcher_win.cpp 509 0x67264eda
    18 USER32!GetSystemMetrics USER32 0 0x771bc3c1
    19 USER32!GetSystemMetrics USER32 0 0x771bc60a
    20 QtCored4!QEventDispatcherWin32::processEvents qeventdispatcher_win.cpp 753 0x6726603f
    21 QtCored4!QEventLoop::processEvents qeventloop.cpp 150 0x67213d6a
    22 QtCored4!QEventLoop::exec qeventloop.cpp 201 0x67213ef1
    23 QtCored4!QThread::exec qthread.cpp 487 0x6706e2c5
    24 QtCored4!QThread::run qthread.cpp 547 0x6706e403
    25 QtCored4!QThreadPrivate::start qthread_win.cpp 315 0x67072d87
    26 MSVCR90D!beginthreadex MSVCR90D 0 0x73754ee5
    27 MSVCR90D!beginthreadex MSVCR90D 0 0x73754ead
    28 kernel32!BaseThreadInitThunk kernel32 0 0x772bf56d
    29 ntdll!RtlUserThreadStart ntdll 0 0x773f3281

    I have submitted a bug (http://bugreports.qt.nokia.com/browse/QTBUG-7433) but i'm still unsure is it a Qt bug or i'm doing something wrong -_-.
    Last edited by eyeofhell; 19th January 2010 at 09:04.

  4. #4
    Join Date
    Jul 2009
    Posts
    139
    Thanks
    13
    Thanked 59 Times in 52 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: 64-bit Qt for windows: QtScript crashes.

    QScriptEngine lives in the main thread where it was created and is called by the second thread where script lives. QScriptEngine is not thread-safe so this is bad.
    moveToThread also moves child objects so you could make the script engine a child of the Script object and they would hapily live in the same thread. Something like:
    Qt Code:
    1. class Script : public QObject
    2. {
    3. Q_OBJECT;
    4. public: Script() : m_oEngine(this) {}
    5. public slots: void Test();
    6. private: QScriptEngine m_oEngine;
    7. };
    To copy to clipboard, switch view to plain text mode 
    Last edited by numbat; 19th January 2010 at 09:11.

  5. #5
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    I have already checked this. Removing moveToThread() from code changes nothing - same crash in same place

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Just to be certain, modify your code this way:

    Qt Code:
    1. class MyThread : public QThread {
    2. Q_OBJECT
    3. public:
    4. MyThread() : QThread() { m_interpreter = 0; }
    5. void run() {
    6. m_interpreter = new QScriptEngine(this);
    7. exec();
    8. delete m_interpreter;
    9. m_interpreter = 0;
    10. }
    11. public slots:
    12. void test() {
    13. if(!m_interpreter) return;
    14. m_interpreter->evaluate(...);
    15. }
    16. private:
    17. QScriptEngine *m_interpreter;
    18. };
    To copy to clipboard, switch view to plain text mode 
    Then connect appropriate signals, etc.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. The following user says thank you to wysota for this useful post:

    eyeofhell (19th January 2010)

  8. #7
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    I have modified the code following way:

    main.h

    Qt Code:
    1. #pragma once
    2.  
    3. #include <QObject>
    4. #include <QScriptEngine>
    5. #include <QThread>
    6.  
    7. class MyThread : public QThread {
    8. Q_OBJECT
    9. public:
    10. MyThread() : QThread() { m_interpreter = 0; }
    11. void run();
    12. public slots:
    13. void test();
    14. private:
    15. QScriptEngine *m_interpreter;
    16. };
    17.  
    18. class App : public QObject
    19. {
    20. Q_OBJECT;
    21.  
    22. signals: void ScriptTest();
    23. protected: void timerEvent( QTimerEvent* );
    24. };
    To copy to clipboard, switch view to plain text mode 

    main.cpp

    Qt Code:
    1. #include <QtCore/QCoreApplication>
    2. #include <QThread>
    3. #include "main.h"
    4.  
    5. void MyThread::run()
    6. {
    7. m_interpreter = new QScriptEngine(this);
    8. exec();
    9. delete m_interpreter;
    10. m_interpreter = 0;
    11. }
    12.  
    13. void MyThread::test()
    14. {
    15. if(!m_interpreter) return;
    16. QString sScript = "function OnStart() { var a = [ [ 0 ] ]; "
    17. "for( var i = 0; i < 3; i ++ ) { for( var j = 0; j < 100; j ++ ) "
    18. "{ \"a\" + a[ 0 ][ 0 ]; } } }";
    19. m_interpreter->evaluate( sScript );
    20. }
    21.  
    22. void App::timerEvent( QTimerEvent* ) { ScriptTest(); }
    23.  
    24. int main(int argc, char *argv[])
    25. {
    26. QCoreApplication a(argc, argv);
    27.  
    28. MyThread oThread;
    29. oThread.start();
    30.  
    31. App app;
    32. QObject::connect( & app, SIGNAL( ScriptTest() ), & oThread, SLOT( test() ) );
    33. app.startTimer( 50 );
    34.  
    35. return a.exec();
    36. }
    To copy to clipboard, switch view to plain text mode 

    It shows following debug information at runtime:

    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is MyThread(0x12fe60), parent's thread is QThread(0x1b98960), current th
    read is MyThread(0x12fe60)

    At string:

    Qt Code:
    1. m_interpreter = new QScriptEngine(this);
    To copy to clipboard, switch view to plain text mode 

    It seems i have modified something wrong?

  9. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    You forgot to move the thread to its own thread.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  10. The following user says thank you to wysota for this useful post:

    eyeofhell (19th January 2010)

  11. #9
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    You forgot to move the thread to its own thread.
    OMG. I was sure that QThread::run() will know what thread it is O_O. This is very strange design .

    Anyway, i have started code and... it did not crash O_O. The only thing i can suggest is that QScriptEngine somehow remembers a thread it was CREATED in and ignores moveToThread() after it is created. I will perform more deep tests to ensure that all is correct. Lots of thanks to you. It's really good to have a guru status in some technology - you can use magic .

  12. #10
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Ah, no
    It seems your test code missed
    Qt Code:
    1. QScriptValue oFnStart = m_oEngine.evaluate( "OnStart" );
    2. oFnStart.call();
    To copy to clipboard, switch view to plain text mode 

    After this is added, code start crashing again in same place .

  13. #11
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Quote Originally Posted by eyeofhell View Post
    OMG. I was sure that QThread::run() will know what thread it is O_O. This is very strange design .

    Anyway, i have started code and... it did not crash O_O. The only thing i can suggest is that QScriptEngine somehow remembers a thread it was CREATED in and ignores moveToThread() after it is created. I will perform more deep tests to ensure that all is correct. Lots of thanks to you. It's really good to have a guru status in some technology - you can use magic .
    OMG. I don't know how many times it has to be repeated... Only the body of run() method is in newly created thread, so everything created outside of this method is still in old thread...:
    Qt Code:
    1. MyTread mt;
    2. mt.start(); // <--- this creates new thread!
    3. // mt object is still in old thread
    4. // so everything cerated in its constructor also
    To copy to clipboard, switch view to plain text mode 
    And this is nothing new. Did you ever looked at Qt Examples & Demos and their documentation (like threaded fortune server?)
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  14. #12
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    OMG. I don't know how many times it has to be repeated... Only the body of run() method is in newly created thread, so everything created outside of this method is still in old thread...:
    As you can see in the code, engine is created exactly in run() method. I was a little dissapointed that QThread object itself is counted to be in the different thread than it's own run() method . It's a QThread after all.

    Anyway, the QtScriptEngine still crashes by reasons unknown - and that's the main problem. And it crashes regardless of what thread it is in .

  15. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    There is no "oFnStart" object in our test program. Could you add it there and post the code again? Please include the code of the evaluated script and the result of QScriptValue::isFunction().

    By the way, to correct what has been said earlier:

    Qt Code:
    1. class Object : public QObject {
    2. public:
    3. // ...
    4. private:
    5. QScriptEngine engine;
    6. };
    To copy to clipboard, switch view to plain text mode 
    Running
    Qt Code:
    1. Object *o = new Object;
    2. o->moveToThread(...);
    To copy to clipboard, switch view to plain text mode 
    will not move the "engine" object to the target thread. "engine" is a member and not a child of the "o" object.
    Last edited by wysota; 19th January 2010 at 12:48.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  16. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Quote Originally Posted by eyeofhell View Post
    As you can see in the code, engine is created exactly in run() method. I was a little dissapointed that QThread object itself is counted to be in the different thread than it's own run() method . It's a QThread after all.
    Read again what faldżip has written. He means exactly that - how can an object (QThread instance) created before the thread is spawned be handled by that thread? What do you think the following should do:
    Qt Code:
    1. class Thread : public QThread {
    2. Q_OBJECT
    3. public:
    4. Thread() ...
    5. public slots:
    6. void callMe(){ ... }
    7. };
    8.  
    9. //...
    10.  
    11. Thread thread;
    12. QMetaObject::invokeMethod(&thread, "callMe");
    To copy to clipboard, switch view to plain text mode 
    In context of which thread would it execute? Note there is no call to QThread::start() anywhere in the code.

    And then where would this execute?
    Qt Code:
    1. Thread thread;
    2. thread.start();
    3. thread.wait(); // hangs until thread is finished
    4. QMetaObject::invokeMethod(&thread, "callMe");
    To copy to clipboard, switch view to plain text mode 

    QThread doesn't represent the thread... it is a controller of the thread.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  17. #15
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    There is no "oFnStart" object in our test program. Could you add it there and post the code again?
    Complete code of latest test, based on your proposals. main.cpp:

    Qt Code:
    1. #include <QtCore/QCoreApplication>
    2. #include <QThread>
    3. #include "main.h"
    4.  
    5. void MyThread::run()
    6. {
    7. m_interpreter = new QScriptEngine(this);
    8. exec();
    9. delete m_interpreter;
    10. m_interpreter = 0;
    11. }
    12.  
    13. void MyThread::test()
    14. {
    15. if(!m_interpreter) return;
    16. QString sScript = "function OnStart() { var a = [ [ 0 ] ]; "
    17. "for( var i = 0; i < 3; i ++ ) { for( var j = 0; j < 100; j ++ ) "
    18. "{ \"a\" + a[ 0 ][ 0 ]; } } }";
    19. m_interpreter->evaluate( sScript );
    20. QScriptValue oFnStart = m_interpreter->evaluate( "OnStart" );
    21. Q_ASSERT( oFnStart.isFunction() );
    22. oFnStart.call();
    23. }
    24.  
    25. void App::timerEvent( QTimerEvent* ) { ScriptTest(); }
    26.  
    27. int main(int argc, char *argv[])
    28. {
    29. QCoreApplication a(argc, argv);
    30.  
    31. MyThread oThread;
    32. oThread.moveToThread( & oThread );
    33. oThread.start();
    34.  
    35. App app;
    36. QObject::connect( & app, SIGNAL( ScriptTest() ), & oThread, SLOT( test() ) );
    37. app.startTimer( 50 );
    38.  
    39. return a.exec();
    40. }
    To copy to clipboard, switch view to plain text mode 

    main.h

    Qt Code:
    1. #pragma once
    2.  
    3. #include <QObject>
    4. #include <QScriptEngine>
    5. #include <QThread>
    6.  
    7. class MyThread : public QThread {
    8. Q_OBJECT
    9. public:
    10. MyThread() : QThread() { m_interpreter = 0; }
    11. void run();
    12. public slots:
    13. void test();
    14. private:
    15. QScriptEngine *m_interpreter;
    16. };
    17.  
    18. class App : public QObject
    19. {
    20. Q_OBJECT;
    21.  
    22. signals: void ScriptTest();
    23. protected: void timerEvent( QTimerEvent* );
    24. };
    To copy to clipboard, switch view to plain text mode 

    Please include the code of the evaluated script
    Do you means the text inside evaluate call()? It's in code:

    Qt Code:
    1. QString sScript = "function OnStart() { var a = [ [ 0 ] ]; "
    2. "for( var i = 0; i < 3; i ++ ) { for( var j = 0; j < 100; j ++ ) "
    3. "{ \"a\" + a[ 0 ][ 0 ]; } } }";
    4. m_interpreter->evaluate( sScript );
    To copy to clipboard, switch view to plain text mode 

    and the result of QScriptValue::isFunction().
    It's always true, assert never trigger:

    Qt Code:
    1. Q_ASSERT( oFnStart.isFunction() );
    To copy to clipboard, switch view to plain text mode 

  18. #16
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    If it crashes on call() then you have to first verify your function is correct. I suggest adding some debug statements inside. If evaluate() returns then it seems the engine itself works correctly.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  19. #17
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    If it crashes on call() then you have to first verify your function is correct
    Function is included in code. It's extremly simple. And i was sure that QtScript interpreter is stable and will not crash on wrong script code. Is it not stable?

  20. #18
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Don't ask me, verify it. There is probably some race condition there that is causing the crash. It is important to know where exactly it crashes.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  21. #19
    Join Date
    Oct 2009
    Posts
    36
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: 64-bit Qt for windows: QtScript crashes.

    I have successfully shrinked down the code to following minimum. No threads at all, no race conditions. Still crashes at call():

    Qt Code:
    1. #include <QtCore/QCoreApplication>
    2. #include <QScriptEngine>
    3.  
    4. int main(int argc, char *argv[])
    5. {
    6. QCoreApplication a(argc, argv);
    7.  
    8. QScriptEngine oEngine;
    9. QString sScript = "function OnStart() { var a = [ [ 0 ] ]; "
    10. "for( var i = 0; i < 3; i ++ ) { for( var j = 0; j < 100; j ++ ) "
    11. "{ \"a\" + a[ 0 ][ 0 ]; } } }";
    12. oEngine.evaluate( sScript );
    13. for(;;)
    14. {
    15. QScriptValue oFnStart = oEngine.evaluate( "OnStart" );
    16. Q_ASSERT( oFnStart.isFunction() );
    17. oFnStart.call();
    18. }
    19. }
    To copy to clipboard, switch view to plain text mode 

  22. #20
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: 64-bit Qt for windows: QtScript crashes.

    Why don't you just do what I said and debug the ecma script code?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 25th November 2009, 07:46
  2. QTScript - getting the name of a QScriptValue
    By android_ in forum Qt Programming
    Replies: 7
    Last Post: 28th October 2009, 14:24
  3. Please help with QtScript
    By Haccel in forum Qt Programming
    Replies: 0
    Last Post: 16th December 2008, 05:59
  4. QtScript
    By QTInfinity in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2008, 20:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.