Skip to content

Qt 6

This is where all Qt 6 related questions belong

816 Topics 3.9k Posts
QtWS25 Call for Papers
  • This topic is deleted!

    Solved
    2
    0 Votes
    2 Posts
    44 Views
  • This topic is deleted!

    Unsolved
    5
    0 Votes
    5 Posts
    80 Views
  • Android Purchasing

    Unsolved
    2
    0 Votes
    2 Posts
    128 Views
    ?

    https://github.com/qt/qtpurchasing/tree/6.2

    I found something like this in the link above. I wonder if this works in Qt 6?

  • How to customize QLineEdit like Telegram InputField?

    Unsolved
    11
    0 Votes
    11 Posts
    557 Views
    artwawA

    @Rustamo said in How to customize QLineEdit like Telegram InputField?:

    Actually, Telegram is written in pure QWidgets

    Ok, I might be wrong.
    On macOS, when you inspect the bundle, it appears to be Swift anyway.

  • 0 Votes
    5 Posts
    1k Views
    C

    @MrShawn said in Cannot load library libsocketcan, some functionality will not be available:

    Did you try read/write on the canbus? I remember seeing this issue and it still worked and was able to do everything I wanted to on the CANbus.

    Read/write OK. Worked.

  • Code copied from 'http' example has issues

    Unsolved
    8
    0 Votes
    8 Posts
    310 Views
    M

    @Christian-Ehrlicher Sorry for the late response. I just saw the notification today. I am trying to communicate with MyFitnessPal using HTTP example from QT and the authentication signal never gets triggered. I don't know if it is me or maybe the openssl package I have installed or am using. Seems to not work in Windows or Android. So basically I am saying I did all that was said here but I still cannot communicate with MyFitnessPal. Could be something I am just not missing. I know that MFP uses OAuth and so does Qt so maybe I am not using the right link?

  • 0 Votes
    3 Posts
    884 Views
    MartianXieM

    @jsulm
    Thank you very much! This is exactly the problem, I set up mingw in the environment variable, which caused me to compile MSVC Qt using MINGW

  • How to properly position a widget on a window.

    Unsolved
    2
    0 Votes
    2 Posts
    137 Views
    SGaistS

    Hi,

    Any reason for not using layouts ?
    How are you calculating the position of your widget ?

  • Multiple definitions: qInitResources_translations()

    Unsolved
    2
    0 Votes
    2 Posts
    305 Views
    No one has replied
  • 0 Votes
    2 Posts
    280 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
    233 Views
    R

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

  • 0 Votes
    2 Posts
    110 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
    180 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
    243 Views
    ?

    Any idea?

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

    Unsolved
    4
    0 Votes
    4 Posts
    297 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
    734 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
    226 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
    345 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
    267 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.