Skip to content
  • Q_DECLARE_EQUALITY_COMPARABLE_NON_NOEXCEPT

    Unsolved General and Desktop
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • Error 3 in the makefile

    Unsolved Qt Creator and other tools
    8
    0 Votes
    8 Posts
    77 Views
    SGaistS
    Hi, Use windeployqt
  • Qt C++ used for eddyfi capture

    Unsolved Qt 6
    2
    0 Votes
    2 Posts
    24 Views
    SGaistS
    Hi and welcome to devnet, The most simple way to do it is to ask the people behind the software you are interested in.
  • Help using an hello world DLL (that might be at fault)

    Unsolved General and Desktop
    8
    0 Votes
    8 Posts
    143 Views
    D
    @JonB Many thanks for all the help. It's made me go off and do a pile of reading and I understand a little more. I had never understood, for example, what the extern "C" meant, but I think I do now. Some of the reading has suggested to me that Linux has all this sussed a lot better than Windows (but that woud be no surprise ;-) ) This post: https://forum.qt.io/topic/75458/compatibility-libraries-generated-by-msvc-and-mingw/3 Suggests that as long as I follow a few rules I should be OK. I am guessing that you can use internal functions using C++ classes as long as anything exposed to the outside world is C style. I'm still a bit comfused because I am following a PDF for this specific project that talks about what functions must be supplied for the DLL and it gives an example of how to do these functions in Pascal! So my original assumption was any language could be used for the DLL and any language could then use that DLL. From what I can tell, the document I'm following was written in October 2013 so it's a fair while ago, if not from the really early days of Windows - already up to Win 8 by then. It is the case, I think that at least one of the companies who'd want to use this DLL still use Delphi!
  • auto completions in QComboBox

    Unsolved General and Desktop
    2
    0 Votes
    2 Posts
    73 Views
    CKurduC
    1 and 2 worked on my computer debian 12 KDE X11. Maybe the problem is related with wayland.
  • The kit supports "arm64-v8a", but the device uses ""

    Unsolved Mobile and Embedded
    1
    0 Votes
    1 Posts
    35 Views
    No one has replied
  • Qt Creator and environment variables on Windows

    Unsolved Qt Creator and other tools
    5
    0 Votes
    5 Posts
    103 Views
    JonBJ
    @Axel-Spoerl Hi Axel. OP wrote: It would be nice if I could just query an existing variable instead of having to set it myself. That way, other developers would not have to remember to do this when they are maintaining my application. So for his purposes he does not want (other) people to have to set an environment variable explicitly or by wrapping this in a .bat file or similar, presumably. The more I read the question as phrased the more it seems to be the same as his linked previous question. I think we need to know just what he wants to answer best.
  • Widgets vs. QML: Choose A Side — and Prepare to Lose Friends

    Unsolved Hot Topic Of The Week
    13
    1 Votes
    13 Posts
    314 Views
    JoeCFDJ
    SwiftUI ==>Apple Flutter==>Google QML==>Qt These are similar. Kind of trend. From the perspective of MVC, QML as view can be a good idea. Non C++ coders like professional GUI designers can use QML easily. I coded a few small apps with QML. I like it.
  • unable to get QComboBox::activateto work

    Unsolved General and Desktop
    10
    0 Votes
    10 Posts
    176 Views
    J
    Unfortunately, I will not be able to get back to this for a few days. We have dozens of other cases of QComboBox which all work. The current case that I am having problems with is more complicated than the others. It uses a completerModel (derived from QAbstractListModel) and has icons on the items.
  • Android SDK installation is missing necessary packages

    Unsolved Mobile and Embedded
    3
    0 Votes
    3 Posts
    68 Views
    M
    That message show an architectural design flaw in QtCreator. I had the same problem. If I remember correctly, my system had another Java runtime besides the one in the JDK, and QtCreator used the false one for its configuration. Uninstalling that fixed things.
  • QSettings and float numeric type do not play nice together

    Unsolved General and Desktop
    14
    0 Votes
    14 Posts
    237 Views
    Kent-DorfmanK
    @Axel-Spoerl beat me to it, but quit messing with QVariant, then read/write your INI file as text, since INI is traditionally suppose to be a human readable format in the first place...and use normal stream read/write operations in text mode. This is also important since text mode negates possible issues with endianness of numerical storage.
  • 0 Votes
    3 Posts
    59 Views
    D
    @JonB said in warning: slot arguments need to be fully-qualified [clazy-fully-qualified-moc-types]: @DiBosco said in warning: slot arguments need to be fully-qualified [clazy-fully-qualified-moc-types]: C:\Software\Qt\wipernet_monitor\mainwindow.h:187: warning: slot arguments need to be fully-qualified [clazy-fully-qualified-moc-types] That wiperNetMessageStruct is defined in a file called defines.h. Is the defines.h included into mainwindow.h (no use if in mainwindow.cpp) and prior to line 187? Yes, but it's the weirdest thing, I just took out another warning (unused variable) and all those warnings have disappeared. Hey ho.
  • Animating a Delegate

    Unsolved General and Desktop
    7
    0 Votes
    7 Posts
    178 Views
    JonBJ
    @peter.thompson Further to my colleagues' replies. A couple of extra possibilities. I don't know whether they are suitable, might depend on how/where you use the delegate, but just to be aware of: Qt has an Animation Framework, "It enables you to animate a Qt property value of a widget or QObject.". You may be able to use its built-in timing rather than roll your own QTimer. Though as @SGaist observed, if you have "fifty at once" you won't want to maintain 50 separate widgets for this. Otherwise, instead of making the model have to emit dataChanged() repeatedly, I believe view->update(view->visualRect(index)); (or even a more general view->viewport()->update(); or view->update();) may/should force a repaint with just a view-side call.
  • How to Enable Python Type Hints in Qt Creator?

    Unsolved Qt Creator and other tools
    18
    0 Votes
    18 Posts
    302 Views
    JonBJ
    @cristian-adam encode works on strings, str or QString. decode works on bytes, bytes or QByteArray. That may explain <unavailable> on text().decode(). I told you I didn't understand :) If you had stuck to Hello world! we wouldn't be having this discussion ;-)
  • Help with Qt6/QtLocation

    Unsolved General and Desktop
    6
    0 Votes
    6 Posts
    135 Views
    GrecKoG
    Any possible culprits in the called functions list of Heaptrack?
  • QtCreator installer/app poisons the Win11 registry

    Unsolved Qt Creator and other tools
    11
    2 Votes
    11 Posts
    181 Views
    cristian-adamC
    @JonB said in QtCreator installer/app poisons the Win11 registry: @cristian-adam Is it the case then: the uninstall either does nothing or does not work, the reinstall does not really uninstall/remove but just happens to overwrite retained values with something else so it ends up working OK? I know I can't be that much use as I don't do Qt under Windows. But would you like me to go find where the Uninstall script is stored in registry so you can try it out standalone, or do you already know this? See above at the manual removal script. I think the Qt Installer should be able to reproduce and fix the QTIFW-3944 issue. I see @ziller is still assigned, hmm.
  • QtCreator 18 ContextMenu covers entire screen!

    Unsolved Qt Creator and other tools
    7
    0 Votes
    7 Posts
    181 Views
    aha_1980A
    @Gerd-Brecht Please have a look here: https://forum.qt.io/topic/164022/unable-to-create-bug-report-on-jira Ps: You can now post faster Regards
  • QML Tooling in 6.11 blog post series

    Unsolved Blog
    1
    0 Votes
    1 Posts
    57 Views
    No one has replied
  • I found an error on the PySide6 documentation website.

    Unsolved Qt for Python
    3
    1 Votes
    3 Posts
    81 Views
    F
    Yes, https://codereview.qt-project.org/c/pyside/pyside-setup/+/718662
  • QSerialPort, randomly missing bytes

    Unsolved General and Desktop
    10
    1 Votes
    10 Posts
    243 Views
    J.HilkJ
    @FRAUBRJ I'm afraid, you haven't found a solution. You have found a way that happens to work for your hardware and your data at the current time of the moon phase. There is so much to improve here, but the important part is, you need some why to verify that you have all data you expect. Do not expect that all data is there when readAll() is called. And despite what you expect, it is called exactly once, your while loop is literally doing nothing.