Skip to content

Qt 6

This is where all Qt 6 related questions belong

827 Topics 4.0k Posts

QtWS: Super Early Bird Tickets Available!

  • Multiple definitions: qInitResources_translations()

    Unsolved
    2
    0 Votes
    2 Posts
    350 Views
    No one has replied
  • 0 Votes
    2 Posts
    296 Views
    C

    UPD.
    I found a solutions by myself. The only thing you need to do is to introduce a variable which stores a previous position of the cursor. Then you compare it with the current mouse X position each time mouse is moved (onPositionChanged()). If mouse X position is bigger, then this is a right move gesture. If mouse X position is smaller, then this is a left move gesture.
    Note: exclude 0 as it leads to undesired behaviour.
    Don't forget to update the variable storing the last cursor's position. From my experiece the difference would always be 1, 0 or -1 (we handled 0 case), because the signal is emitted each time the mouse moves (even on a signle pixel).

  • qmlsc gives different output Windows vs Linux on Qt 6.2.1

    Solved
    2
    0 Votes
    2 Posts
    240 Views
    R

    @Rich-v I'll just chalk this up to the logging default being different between windows and linux.

  • 0 Votes
    2 Posts
    119 Views
    W

    I found a great example that might be helpful for my problem.

    https://doc.qt.io/qt-6/qtquick-scenegraph-custommaterial-example.html

    If I’m success I’ll post it here.

    I couldn't make it cuz the scene graph of Qt Quick2 can't have more than one shader for its nodes.

  • Is QT Designer Studio compatible with Qt Version 5.12.x

    Unsolved
    2
    0 Votes
    2 Posts
    210 Views
    U

    hi, there are three current versions, one is the full one, the other two are reduced versions, that depends on how is your workflow.. are you using Qt Creator ?

  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    14 Views
  • QtMultimedia Camera Not Work Android 10

    Unsolved
    4
    0 Votes
    4 Posts
    281 Views
    ?

    Any idea?

  • How to place a window in the center of the screen?

    Unsolved
    4
    0 Votes
    4 Posts
    329 Views
    SGaistS

    In place of getting the desktop widget you get the primary screen from the qApp object and then continue as shown in the link you posted.

  • 0 Votes
    10 Posts
    813 Views
    SGaistS

    @wooseokyourself said in What module should I use for streaming C++ QImage objects into QML?:

    @SGaist Thanks for reply. But I don't understand what you meant "mailing list" and "bug tracker".

    The interest mailing list where you can find Qt's developers/maintainers.

    The bug tracker is well "the place where the bugs are tracked".

  • What is the minimum code for a Qt project?

    Solved
    4
    0 Votes
    4 Posts
    295 Views
    JKSHJ

    @gouneken said in What is the minimum code for a Qt project?:

    I went to file> new file or project> other projects> empty project.

    To clarify @SGaist's post: The option you want is File > New File or Project... > Application (Qt) > Qt Widgets Application

  • Qt6 minibrowser example is crashing on aarch64 architecture

    Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    Pablo J. RoginaP

    @kishore-kkc said in Qt6 minibrowser example is crashing on aarch64 architecture:

    Qt6 minibrowser is throwing below error on aarch64 machine

    Did you build the example for aarch64 yourself?

  • Qt 6 For Mobile >> Object already has a QQmlContext

    Solved
    3
    0 Votes
    3 Posts
    286 Views
    eyllanescE

    @jimav Probably the cause of the error is some silly configuration on the part of the OP or maybe the OP did not want to share the solution, etc. There are many possible reasons. My recommendation is that you create a new post publishing more information for the community to help you.

  • How to unbind keys in fakevim mode in Qt Creator?

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

    Unsolved
    1
    0 Votes
    1 Posts
    186 Views
    No one has replied
  • 0 Votes
    2 Posts
    808 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
    170 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
    357 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
    107 Views
    No one has replied
  • This topic is deleted!

    Solved
    9
    0 Votes
    9 Posts
    64 Views