Porting Qt 4.7.0 to AmigaOS

  • Hi all,

    I am not quite sure, if this is the right forum to ask these questions. If someone has a better suggestion, feel free to point me in the right direction.

    I am porting Qt 4.7 to AmigaOS. The reason I am using this version is, that I started this port several years ago, and before I can upgrade to 5.0, we need some additional functionality from our OS. Anyways, I can't imagine, that what I am going to ask has changed much in Qt 5.

    Problem: I can't get modal widgets to be modal. This is especially problematic in the Qt demo browser, where I get a ton of Warning message boxes, where I should only get one at a time. I know there are two sides to this coin:

    1. User input to other windows has to be blocked. This should be easy, but I haven't done it yet.
    2. The event loop created by the message box has to send only messages that were posted in that event loop.

    Now, problem 2) is a bit tricky. I have looked in the sources (corelib/kernel/qeventloop.cpp and qcoreapplication.cpp), and I am puzzled. In QCoreApplication::sendPostedEvents, there is a variable - "startOffset" - that, as far as I can imagine, should be set to the offset of the first event posted during that event loop. BUT the value of this variable seems to be always 0, and I cannot find any place in the code, that could possibly set this variable. And so the page loading just continues behind the MessageBox...

    Can anyone point me to a person or a forum that can help me solve this? Thanks very much! :)

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.