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. The main screen and dialogs are always popup at point(0,0) after I upgrade my QT to 6.4.2.
Forum Updated to NodeBB v4.3 + New Features

The main screen and dialogs are always popup at point(0,0) after I upgrade my QT to 6.4.2.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 185 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.
  • E Offline
    E Offline
    eric s
    wrote on last edited by eric s
    #1

    After I upgrade to QT 6.4.2, all dialogs are pop up at point(0,0), even I create a simple test project. Everything was good in QT5.
    I've tried to call move() after show() as below, it's still pop up at point(0,0).
    int main(int argc, char *argv[])
    {
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    w.move(200, 200);
    return a.exec();
    }
    I also tried to create QDialog and QMessageBox, they all pop up at point(0,0) and cannot be moved by calling move();
    Thanks for help!!

    1 Reply Last reply
    0
    • Kent-DorfmanK Online
      Kent-DorfmanK Online
      Kent-Dorfman
      wrote on last edited by
      #2

      IIRC, main application window position is just a hint to the window manager, and the manager is free to override the location. What window manager/DE is it being run under? That may give a clue.

      I light my way forward with the fires of all the bridges I've burned behind me.

      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