Skip to content

Qt 6

This is where all Qt 6 related questions belong

816 Topics 3.9k Posts
QtWS25 Call for Papers
  • Build Qt from source for Android on Ubuntu

    Unsolved
    1
    0 Votes
    1 Posts
    285 Views
    No one has replied
  • Scrolling in QGraphicsView

    Solved
    5
    0 Votes
    5 Posts
    477 Views
    Ketan__Patel__0011K

    set Transformation Anchor for Your QGraphicsView
    QGraphicsview::setTransformationAnchor(QGraphicsView::AnchorUnderMouse);

    I am using same solution and it is working correctly.

  • What is the replacement for QStateMachine in Qt6?

    Unsolved
    4
    0 Votes
    4 Posts
    575 Views
    M

    it seems 6.1 includes State Machines https://wiki.qt.io/New_Features_in_Qt_6.1

  • QT += serialport unknown module error

    Moved Solved
    2
    0 Votes
    2 Posts
    1k Views
    jsulmJ

    @Gunkut See https://forum.qt.io/topic/122548/serial-port-for-qt-6
    Qt6 does not yet contain serialport module.

  • 0 Votes
    7 Posts
    32k Views
    EndrII 0E

    You need to deploy your application.
    I use the cqtdeployer tool for solve this issue.

    Examples of using available here, here and here

    You can download this deploy tool from github releases or snap store if you use Linux systems.

  • Qt6 Bluetooth and Serial Port support

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    H

    Great, thank you for the clarification - I must have overlooked this document:
    https://www.qt.io/blog/add-on-support-in-qt-6.0-and-beyond

    Cheers! P.

  • Qt3D 6.0.2 on Windows using MinGW 8.1.0

    Unsolved
    4
    0 Votes
    4 Posts
    408 Views
    SGaistS

    No that looks fine. Using static dependencies does not automatically trigger a static library creation.

    It's seems to be a bug indeed.

  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Qt6 for iOS and WebAsm support?

    Unsolved
    1
    0 Votes
    1 Posts
    154 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • Is it possible to convert pyqt6 to exe with pyinstaller?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    deleted264D

    Si se puede ,pero también hay otras librerías para compilar a exe tu aplicación

  • parse strings with tags

    Unsolved
    5
    0 Votes
    5 Posts
    390 Views
    SGaistS

    Why did you delete the question ?

    As for the edition, since you control the tags, then QRegularExpression and QString should fit well.

  • Qt 6 is Frustrating

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    SGaistS

    Great !

    Since you have this part working, please mark the thread as solved so that other forum users may know a solution has been found :-)

  • Qt UI Widget Stylesheet Documentation

    Solved
    2
    0 Votes
    2 Posts
    178 Views
    Christian EhrlicherC

    See Qt Style Sheets.

  • 0 Votes
    6 Posts
    552 Views
    SGaistS

    Great ! Thank you very much.

  • Not managing to build android QT project

    Moved Solved
    5
    0 Votes
    5 Posts
    285 Views
    T

    Oh sorry i forgot to check the Android box
    4d0a39b9-151b-4359-906d-b2928282ee12-image.png
    well, thx for the help anyway

  • 0 Votes
    2 Posts
    383 Views
    C

    @CuteQt

    onPressed is not always practical because it breaks a lot of things. Let's imagine the following example:

    import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 ApplicationWindow { visible: true width: 300 height: 420 ComboBox { anchors.centerIn: parent model: ['Red', 'Green', 'Blue'] } }

    The Combobox is inaccessible if you are using a graphics tablet.

    Let's imagine the following example with a drawer.

    import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 ApplicationWindow { visible: true width: 300 height: 420 Drawer { width: parent.width * 0.6 height: parent.height ListView { anchors.fill: parent model: 6 delegate: ItemDelegate { width: parent.width text: `Menu Item ${index}` } } } }

    You can pull the drawer using a stylus but it doesn't stay opened and follows the cursor because I believe onReleased signal is never fired.
    Mouse works as expected.

    Let's consider the following example:

    import QtQuick 2.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 ApplicationWindow { visible: true width: 300 height: 420 Column { id: radios anchors.centerIn: parent RadioButton { id: red; text: 'Red' } RadioButton { id: green; text: 'Green' } RadioButton { id: blue; text: 'Blue' } Button { text: 'Ok' } } }

    With stylus, the radio buttons seem to be checked but as soon as you click on something else like the Button for example the radio is no longer checked anymore.
    With mouse, everything works as expected.

  • Qt 6.0.1 Webview gone

    Moved Solved
    3
    0 Votes
    3 Posts
    519 Views
    E

    @jsulm Oh,Its sad.Thanks for replying my thread.
    :)

  • qt6 and Mint 18 Linux?

    Solved
    22
    0 Votes
    22 Posts
    3k Views
    O

    @ofmrew Upgraded to latest version of Mint Linux and I now have Qt6 installed. Now on to getting Qt 3D installed.

  • Where is the designer and debug buttons ?

    Solved
    7
    0 Votes
    7 Posts
    407 Views
    S

    thanks . its working