跳到內容

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k 主題 456.4k 貼文
  • QMAKE_CXX flag setting ignored?

    Unsolved
    4
    0 評價
    4 貼文
    275 瀏覽
    kshegunovK
    Also you could simply use Q_UNUSED/[[maybe_unused]] in-code to suppress it, instead of disabling it at the compiler level.
  • Can't use "setGraphicsEffect"?

    Unsolved
    8
    0 評價
    8 貼文
    804 瀏覽
    SGaistS
    The first thing you should do is avoid star imports. You don't know what you are pulling there and it makes your code less readable and understandable. Next, remove everything that is not related to your current Qt issue. Deal with each problem one after the other.
  • 此主題已被刪除!

    Unsolved
    1
    0 評價
    1 貼文
    8 瀏覽
    尚無回覆
  • QTreeView inline edit alignment problem

    Unsolved
    6
    0 評價
    6 貼文
    358 瀏覽
    JonBJ
    @jronald It should not be hard at all, just a QTableView with a 2 column model. If it is hard to reproduce then something is going on/others will not be able to repro. As I say, I have used it many times with no problems, and don't you think other people would report if every time they tried to edit from a QTableView it went as badly wrong as this? Anyway, if it really does this (and I think you have something wrong in your code) I told you what you can do about it.
  • These message are being received "qt.qpa.input.events: scroll event from unregistered device"

    Solved
    17
    0 評價
    17 貼文
    2k 瀏覽
    SMF-QtS
    @SGaist Yes thank you.
  • Running windeployqt from QtCreator

    Unsolved
    4
    0 評價
    4 貼文
    532 瀏覽
    MesrineM
    @Mesrine It seems that the FIRST call to findpackage of Qt should have the QML component find_package(Qt6 COMPONENTS Core Gui Quick Qml) Because the qt cmake scripts use that to see what macros to include.
  • Recursive filtering on QSortFilterProxy

    Unsolved
    5
    0 評價
    5 貼文
    386 瀏覽
    JonBJ
    @wejgomi That is a pretty fundamental omission! Then I don't see how you had it working before you added the filter/setRecursiveFilteringEnabled() at all.
  • Emoji support

    Unsolved
    21
    0 評價
    21 貼文
    18k 瀏覽
    P
    @Pedro-Vicente But using that script, gives a link error mocs_compilation_Debug.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QrwEmoticons::staticMetaObject"
  • Weird Application Output

    Unsolved
    3
    0 評價
    3 貼文
    279 瀏覽
    W
    @ChrisW67 Knowing it's called CBTProc does help a little at least. However, it is definitely not related to the code. Even a clean, newly created project gives this output. I've also reinstalled Qt to no avail. Is it possible for something external to Qt to cause this?
  • what is auto generating LIBS path in makefile "qt creator"

    Unsolved
    22
    0 評價
    22 貼文
    2k 瀏覽
    M
    @jsulm said in what is auto generating LIBS path in makefile "qt creator": @micha_eleric said in what is auto generating LIBS path in makefile "qt creator": i found /usr/local/Qt-5.15.13/bin/qmake Bellow you write something about Qt 6.6.3 - so what Qt version did you actually build and where did you install it? "qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in """ - was XCB plug-in enabled when running configure before building? "[[nothing, and no clue where qmake(qmake**) is" - where you installed your Qt build... Qt 5.12.12 build from QT creator offline install, which went to Home and somewheres sudo is needed, but did not have features that online install has Qt 6.6.2 built from Qt Creator online install, which went to Home and somewheres sudo is needed Qt 5.15.13 built from https://download.qt.io/official_releases/qt/5.15/, which has some in Home and somewheres sudo is needed
  • QT Creator cross compile on remote linux device incorrect QT version

    Unsolved
    8
    0 評價
    8 貼文
    568 瀏覽
    Ronel_qtmasterR
    @KeithMarex Only after cross compilation that you will have that compatible version for the generic -linux you will need to have something like this in your Qt Versions [image: e735fc59-e75d-41b6-9bce-1844bf3e48b7.PNG]
  • Blur everything below a widget

    Unsolved
    8
    0 評價
    8 貼文
    1k 瀏覽
    Pl45m4P
    @SimonSchroeder This is pain when you move the widget around very fast :D It will take one screenshot and render the image for every moveEvent. I think it will be laggy as hell.
  • GNOME crash on adding files to .qrc via QtCreator

    Unsolved
    1
    0 評價
    1 貼文
    128 瀏覽
    尚無回覆
  • Beginner - Stand alone console app with macOS

    Solved
    6
    0 評價
    6 貼文
    516 瀏覽
    F
    @sierdzio OK. I'll make a note of it! Thanks.
  • CMake File not found Project Sources

    Solved cmake qt 6.6.3
    8
    0 評價
    8 貼文
    3k 瀏覽
    jsulmJ
    @KK2022 You should also add header files. Building will work without I think, but QtCreator will not find the header files I guess and complain.
  • Cannot delete dynamically created widget using removeWidget method

    Unsolved
    3
    0 評價
    3 貼文
    199 瀏覽
    L
    @jsulm You are right. My bad! Thanks for clarifying :)
  • QT Crash

    Unsolved
    4
    0 評價
    4 貼文
    295 瀏覽
    C
    @sprkxr said in QT Crash: Has anyone had the same problem? How to solve? C++ programmers have written code that crashes since day 1. You solve it by debugging your program. ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p READ_ADDRESS: ffffffffffffffff Application Error 0xc0000005 (Access Violation) while trying to access using a memory address 0xffffffffffffffff. This is a classic invalid/dangling pointer problem. There's a slim chance this is caused by using an incompatible Qt 5 library set with an executable but, since you provide absolutely nothing about the "large project" we can only speculate.
  • Error: no matching function for asynccall in qdbusabstractinterface

    Unsolved qdbus qdbusinterface qvariant
    2
    0 評價
    2 貼文
    259 瀏覽
    jsulmJ
    @AROH I guess you need to declare/register QVector<int>, see https://doc.qt.io/qt-6/custom-types.html
  • 此主題已被刪除!

    Unsolved
    1
    0 評價
    1 貼文
    1 瀏覽
    尚無回覆
  • QGroundControl "No such file or directory" problem.

    Solved
    7
    0 評價
    7 貼文
    1k 瀏覽
    M
    It was encoding problem. I don't know why, but I think I'm having trouble reading QGCExternalLibs.pri on the Korean windows (maybe some of the other foreign languages windows). It was unexpectedly difficult to find out because it was a problem that only occurred in one file. Case closed.