Skip to content

Qt 6

This is where all Qt 6 related questions belong

816 Topics 3.9k Posts
QtWS25 Call for Papers
  • How to unbind keys in fakevim mode in Qt Creator?

    Unsolved
    1
    0 Votes
    1 Posts
    115 Views
    No one has replied
  • TextField Android Keyboard Covering

    Unsolved
    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • 0 Votes
    2 Posts
    777 Views
    R

    @Rich-v

    Closing this. Qt support confirmed they do not support windows hosts building 6.2 for QNX.

  • Qt6 bindings for javascript

    Unsolved
    2
    0 Votes
    2 Posts
    156 Views
    SGaistS

    Hi,

    The QtScript module has been deprecated and obsoleted during the Qt 5 series and AFAIK, it won't be ported to Qt 6.

  • 0 Votes
    2 Posts
    321 Views
    sierdzioS

    Try porting to Qt 5.15 first, it should print you some nice deprecation and porting messages during compilation and at runtime. This will help you fix the issues.

    A wild guess in this case: Qt 6 requires Q_PROPERTY types to be fully qualified (not forward declared). Go through your properties and make sure it's true.

  • This topic is deleted!

    Solved
    8
    0 Votes
    8 Posts
    105 Views
  • Qt 6.2 Publish Google Play Error

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

    Solved
    9
    0 Votes
    9 Posts
    64 Views
  • 1 Votes
    1 Posts
    143 Views
    No one has replied
  • Qt6.2.1 QList index out of bound

    Solved
    12
    0 Votes
    12 Posts
    737 Views
    sbelaS

    This works! Thank you!

    if (int index = a_list.indexOf(A("ONE")); index > -1)

    @Christian-Ehrlicher

  • 0 Votes
    5 Posts
    2k Views
    8Observer88

    @sierdzio you are right. Thank you very much! I placed Qt_Static back and it works now:

    816f95fa-c75c-4fa7-b1d9-2237f44024fd-image.png

    Static Release was created and It works:

    4a472542-89e4-41ff-9070-5a6a773366ed-image.png

  • 0 Votes
    1 Posts
    258 Views
    No one has replied
  • Purchasing and Android Extras

    Unsolved
    1
    0 Votes
    1 Posts
    111 Views
    No one has replied
  • qt6.2 designer qtwebview crashed on apple silicon.

    Unsolved
    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • Qt 6 replacement for ColorOverlay?

    Unsolved
    8
    0 Votes
    8 Posts
    4k Views
    D

    Adding this bug report to the conversation: https://bugreports.qt.io/browse/QTBUG-88645

    It appears GraphicalEffects is intended to be replaced by something like MultiEffect - which isn't ready for Qt 6 yet.

  • Qt 6.2.0 cmake install issue on Linux

    Solved
    4
    0 Votes
    4 Posts
    543 Views
    N

    Solved.. The build and install directory should be different.

  • 6.2.1, msvc static, missing /permissive- compiler option

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    O

    So, I've kind of solved that, I've updated to the latest VS, installed last available WinSDK (there were build errors with old ones), just comment out the check in the qglobal.h

    //static_assert(!std::is_convertible_v<std::nullptr_t, bool>, // "On MSVC you must pass the /permissive- option to the compiler.");

    After all I needed to disable building of qttools, there were other errors. That's not the perfect solution but at least I built it. And still I want to know why it does not build as explained in the documentation and having now LTS release 6.2.

  • ld: cannot find atomic

    Solved
    6
    0 Votes
    6 Posts
    379 Views
    kshegunovK

    @debian said in ld: cannot find atomic:

    Problem in incorrect addititonal library name, LIBS contain correct -latomic and incorrect atomic.

    Sorry missed that. No idea on the question. The qmake feature appears to be incorrect in some way, but I have no clue why.

  • QObject::findChildren<>() problem

    Solved
    5
    0 Votes
    5 Posts
    324 Views
    V

    Thanks, I solved ! Such as follows;

    template <
    typename _MyClass2>
    MyClass1::MyClass1(
    MyClass2 MyObject // !!! DO NOT USE QObject !!!
    QObject* ChParent /= Q_NULLPTR/)
    : QQmlPropertyMap(
    MyObject,
    ChParent)

  • QtWebEngine cannot save cache

    Solved
    2
    0 Votes
    2 Posts
    470 Views
    I

    Resolved.
    https://doc-snapshots.qt.io/qt6-dev/qtwebengine-changes-qt6.html

    Default Profile
    The default profile is now off the record.
    To have a standard browser profile with disk-cache and cookies, we recommend creating your own profile and using that explicitly.

    So, I used m_webview->setPage(new QWebEnginePage(new QWebEngineProfile("MyProfile"))); instead of QWebEngineProfile::defaultProfile()->setPersistentCookiesPolicy(QWebEngineProfile::ForcePersistentCookies);, and it worked.