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. QFileDialog::getOpenFileName invisible
Forum Updated to NodeBB v4.3 + New Features

QFileDialog::getOpenFileName invisible

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 221 Views
  • 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.
  • Y Offline
    Y Offline
    yura_somatic
    wrote on last edited by
    #1

    Re: QFileDialog not appearing on the top even after using different window flags

    I have a similar problem:
    QFileDialog::getOpenFileName() is invisible. Fixed by passing QFileDialog::DontUseNativeDialog flag. It works with 'this' or 'nullptr' or whatewer as 'parent' arg.

    Here is full call:
    QFileDialog::getOpenFileName(
    nullptr, "Select mesh file", QDir::homePath(), QString(), nullptr, QFileDialog::DontUseNativeDialog);

    Additional info:
    x86_64, Ubuntu 20.04, clang10.0.0-4, cmake 19.2, Qt 5.14.2

    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