Skip to content

Qt 6

This is where all Qt 6 related questions belong

830 Topics 4.0k Posts
  • win10-Raspi cross-compiling

    Unsolved
    1
    0 Votes
    1 Posts
    238 Views
    No one has replied
  • Qt 6.5 MediaPlayer and tcp stream

    Solved
    6
    0 Votes
    6 Posts
    934 Views
    kbarniK

    @SGaist Thank you! That should be probably it!
    I will test it on 6.5.1 when it will be released and report back.

  • Install Qt6StateMachine with aqt install-qt

    Unsolved
    2
    0 Votes
    2 Posts
    487 Views
    Paul ColbyP

    Hi @xavierbaez,

    I am trying to install libQt6StateMachine.so.6 with aqt install-qt

    Once you've installed aqtinstall, try:

    aqt install-qt linux desktop 6.5.0 gcc_64 -m qtscxml

    I generated that command line via this awesome tool :)

    Cheers.

  • Qtmultimedia windows 10 and linux

    Unsolved
    4
    0 Votes
    4 Posts
    210 Views
    SGaistS

    Would you be able to check with ffmpeg directly to see if it is working on Windows ?

  • include xc framework in cmake

    Solved
    5
    0 Votes
    5 Posts
    866 Views
    J

    @Louise , hi

    If you don't mind can you share your sample CMAKE , i have FacebookSDK pulled using cocoapod , there's also .framework but i don't know how to include it using CMAKE ?

    thanks

  • Qt6 dev on Ubuntu 20.04 command line

    Unsolved
    12
    1 Votes
    12 Posts
    8k Views
    SGaistS

    @Paul-Colby Good catch ! Copy-Paste without cleanup error and thanks for the additional tip :-)

  • 0 Votes
    2 Posts
    129 Views
    jsulmJ

    @Melliora And how can anybody tell you why it does not work from this description?!
    How about posting the non-working code (the loop)?
    "I guarantee there are no mistakes in the for loop" - this contradicts with you saying the loop does not end...

  • How to display an multiframe DICOM file

    Unsolved
    2
    0 Votes
    2 Posts
    175 Views
    JoeCFDJ

    @ManiRon28
    you can find some here. Both Qt and VTK are needed.
    https://github.com/search?q=dicom+qt

  • Create a docker image for Qt 6

    Unsolved
    2
    0 Votes
    2 Posts
    872 Views
    SebastianMS

    @Youness96 Take a look at aqtinstall
    Use example:

    RUN pip3 install aqtinstall; \ RUN aqt install-qt --outputdir /opt/qt linux desktop 6.4.3 gcc_64 -m
  • QmlApplicationEngine failed to load component qrc:/main.qml

    Unsolved
    2
    0 Votes
    2 Posts
    161 Views
    JoeCFDJ

    @xavierbaez The similar code I made with Q5 is as follows.

    pragma Singleton import QtQuick 2.0 QtObject { readonly property color generalBackgroundColor: “000000” }

    And in Qt 6, version number is not needed. Can you try

    pragma Singleton import QtQuick QtObject { readonly property color generalBackgroundColor: “000000” }
  • AutoMoc: The Property will be invalid

    Solved
    4
    0 Votes
    4 Posts
    212 Views
    X

    @Christian-Ehrlicher Okay I was able to fix it creating a function

    currentFileIndex()
  • 0 Votes
    9 Posts
    386 Views
    X

    @J-Hilk Thank you that worked.
    I also changed the header to:

    void setLocale(const QString& locale);
  • Qt6.5.0: Resource theme link error

    Solved
    2
    0 Votes
    2 Posts
    282 Views
    T

    I've to answer my own question. The problem was that I had do add a dependency to the file build.gradle. The section should look like:

    dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.preference:preference:1.1.0' }

    The second dependency ('androidx.preference:preference:1.1.0) is necessary if you use the new setup system (preferences) from Android.

    A.T.

  • 0 Votes
    20 Posts
    1k Views
    X

    @JonB said in cannot convert ‘const QString’ to ‘const QLocale&’:

    @xavierbaez said in cannot convert ‘const QString’ to ‘const QLocale&’:

    QRegExp re(QString(matchPattern).arg(_params.fileName)); return re.exactMatch(logFileName);

    Try (untested)

    QRegularExpression re(QRegularExpression::anchoredPattern(QString(matchPattern).arg(_params.fileName))); return re.match(logFileName).hasMatch();

    You will need to change #include <QRegExp> to #include <QRegularExpression>.

    Yeah that worked thank you so much.

  • Qt Creator releases against Qt

    Solved
    3
    0 Votes
    3 Posts
    218 Views
    S

    @Christian-Ehrlicher I see, thank you for the response. If this is the case, based on the information here I think the answer is 'soon', so I'll probably just wait.

    https://www.qt.io/blog/qt-6.5-beta-released

  • 0 Votes
    10 Posts
    971 Views
    S

    This issue has been fixed in 6.4.2.
    See details in : https://bugreports.qt.io/browse/QTBUG-99259

  • Will the Qt6 support UWP platform?

    Solved
    5
    0 Votes
    5 Posts
    468 Views
    Q

    @jsulm During this year's Microsoft Build conference Microsoft announced the
    unification of Win32 and UWP for their IoT offering.

    Thanks

  • Unable to run the WMIC command through QProcess in Qt6.4.0

    Unsolved
    3
    0 Votes
    3 Posts
    215 Views
    JonBJ

    @Pradson
    Apart from obviously putting in error handling if you want help with errors as @jsulm says. Did you try making that command line separate arguments instead of a single one? Did you try running just a command with empty arguments of wmic?

  • CMake support for qt-version we are linking to

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    X

    Hello
    I am trying desperately to get this working, it is not.
    I am not sure what I am doing wrong.
    Is there a special path or something?
    For some reason, it is not detecting Qt6
    I am using Manjaro

  • 0 Votes
    4 Posts
    1k Views
    M

    I have created a bug report regarding this. I used the minimal example that you have created in the bug report. Thanks for sharing your minimal example.

    https://bugreports.qt.io/browse/QTBUG-111968