Skip to content

Qt 6

This is where all Qt 6 related questions belong

816 Topics 3.9k Posts
QtWS25 Call for Papers
  • xcb issues on update from 6.0.0 to 6.2.0-beta3

    Unsolved
    18
    0 Votes
    18 Posts
    1k Views
    L

    @SGaist Yeah. I still had to make other changes to get things to work but they were specific to us. I think it must have been the order in which I made the changes that made this seem necessary when they weren't

  • Is Ninja installed with Qt 6?

    Unsolved
    4
    1 Votes
    4 Posts
    3k Views
    JKSHJ

    @Stokestack said in Is Ninja installed with Qt 6?:

    I did find the following here:
    "We recommend to use CMake's Ninja generator. This is also configure's default."

    That's talking about building Qt, not building user projects.

    Scroll down lower in the article: "Once you have installed Qt, you can use CMake or qmake to build your projects."

    Ninja is not a requirement.

    Not sure when configure is invoked, however.

    configure is the script that starts the Qt build process.

    There is no configure script for your own projects.

    why didn't I get a complaint when opening it in the earlier Qt Creator, and also not when I opened it again in the current one?

    I don't know.

    Update us if you can reproduce the issue -- otherwise, there's not much else we can say or do.

  • QT SerialPort not found on QT Maintenance Tool

    Moved Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    JKSHJ

    @Stokestack said in QT SerialPort not found on QT Maintenance Tool:

    Underneath that there is a 5.15.2 directory, but there's also a lot of important stuff that's right below "Qt" and not under the 5.15.2 subdirectory.

    Look closely closely at my screenshot. That is my "Qt" folder.

    It's the same as yours, but it has both "5.15.2" and "6.2.0".

    And it seems like stuff that would clash with (or be overwritten by) a newer version:

    Don't worry, the things in next to 5.15.2 will not get overwritten if you run MaintenanceTool.app.

    (They will only get overwritten if you run the original installer, which you are not supposed to)

  • 0 Votes
    1 Posts
    445 Views
    No one has replied
  • Custom widget can't show in layout

    Solved
    3
    0 Votes
    3 Posts
    165 Views
    JoeCFDJ

    void QGridLayout::addWidget(QWidget *widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment = Qt::Alignment())

    gridLayout->addWidget(graphicsView, 1, 0, 3, 1);

  • This topic is deleted!

    Solved
    3
    0 Votes
    3 Posts
    25 Views
  • CMake doesn't seem fully supported by Qt Creator

    Unsolved
    3
    0 Votes
    3 Posts
    190 Views
    StokestackS

    Thanks for that reply. That doesn't quite make sense though. Why can you create a single-level project and have Creator build you a CMakeLists file then?

    With CMake becoming the native build system, I would expect Qt Creator to offer the same functionality it does today. That means (among other things) letting you create a "subdirs" project, which would add add_subdirectory to CMakeLists. Why doesn't it simply do that? What happens when QMake goes away?

    I don't see how Qt can competitively proceed into the future if its IDE doesn't even let you manage your project. Furthermore, it's a huge missed opportunity to clarify CMake usage and expose its many functions in an orderly UI.

  • Qt6 application Crash on startup on Linux

    Solved
    16
    0 Votes
    16 Posts
    1k Views
    N

    Apologies for false alarm....
    It was crashing trying to set style sheet to a non existent plugin...
    Issue resolved..
    Thanks for the help :)

  • Qt 6.2 (Beta3) Media Player Example crashes

    Unsolved
    4
    0 Votes
    4 Posts
    275 Views
    jsulmJ

    @laseranichris OK. You can report this in Qt bug tracker.

  • Converting opengl code into qt platform

    Unsolved
    3
    0 Votes
    3 Posts
    194 Views
    M

    I am trying to add glew library into qt creator. But i have added the library. But It shows undefined reference while i add glewInit(); inside initializeGL() function. Could you please tell me the exact way to install glew in qt creator? it would be helpful for me.

  • 0 Votes
    4 Posts
    670 Views
    EmrecpE

    @SGaist
    removing self.parent = parent did not help. Problem still continues.

  • 0 Votes
    5 Posts
    905 Views
    Jonas KvingeJ

    @VRonin
    You can't get the connection, since Qt holds it. But there is a new interface added as of Qt 6.2 to get it, see:
    See: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f5203eeada83bbe8e316a5188e24636af3e83b09

  • Build QT6 issue on macOS 11.5 Big Sur by XCode

    Unsolved
    8
    0 Votes
    8 Posts
    467 Views
    SGaistS

    Then you should check with the brew folks to see how they are building Qt 6.

  • 0 Votes
    10 Posts
    3k Views
    C

    @QtQrustacean You may need to re-install Qt. I installed the default Qt for Desktop Applications from the installer (6.1.2), and had the same problem you did. By deleting that version of Qt and doing the Custom build, I was able to select Qt 6.1.2 and then add the Qt StateMachine package in the same area. So far, what I did is working.

  • 0 Votes
    1 Posts
    134 Views
    No one has replied
  • 0 Votes
    1 Posts
    94 Views
    No one has replied
  • Qt6.1.2 static cmake linux

    Unsolved
    8
    1 Votes
    8 Posts
    972 Views
    SGaistS

    Did you check the bug report system ?

  • 0 Votes
    25 Posts
    2k Views
    Y

    @Jonas-Kvinge

    Thank you Jonas ! I've spent days on this issue and now its finally fixed :-D

  • Installation error

    Unsolved
    9
    0 Votes
    9 Posts
    638 Views
    JKSHJ

    @nikhilsarma said in Installation error:

    ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: xcb-util-wm i686 0.4.1-12.el8 rhel-8-for-x86_64-appstream-rpms 35 k Installing dependencies: glibc i686 2.28-72.el8_1.1 rhel-8-for-x86_64-baseos-rpms 3.5 M libXau i686 1.0.8-13.el8 rhel-8-for-x86_64-appstream-rpms 36 k libxcb i686 1.13-5.el8 rhel-8-for-x86_64-appstream-rpms 249 k

    Wrong architecture, like @jsulm said. You want to install x86_64 packages, not i686 packages.

    Uninstall these 32-bit packages and try again.

  • Failed to build Qt 6.1.2 from source.

    Unsolved
    2
    0 Votes
    2 Posts
    205 Views
    VRoninV

    Can you post your configure invocation?