Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QProgressDialog does not show as correct size in iOS



  • QQmlEngine::setObjectOwnership(quit_loop, QQmlEngine::CppOwnership);
    QProgressDialog progress(("Loading Data------------"), QString(), 0, 100);
    
    ......(signals)
    
    progress.setRange(0,0);
    
    int progressCode = progress.exec();
    

    In Android, works fine and progress dialog show default size, and resize() functions works. But in iOS, show in the whole screen, and resize() does not work. But when using progress.size(), get QSize(220, 64).

    how could show progressbar Dialog correctly. Thanks
    Simulator Screen Shot - iPad Pro (12.9-inch) (4th generation) - 2020-07-21 at 11.53.45.png

    The same issue was identified six years ago.

    https://interest.qt-project.narkive.com/HxDPUkX5/qwidget-resize-on-ios


Log in to reply