Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Porting Qt 4.7.0 to AmigaOS
Qt 6.11 is out! See what's new in the release blog

Porting Qt 4.7.0 to AmigaOS

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 914 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alfkil
    wrote on last edited by
    #1

    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! :)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved