Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.7k Topics 457.9k Posts
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • Layout best practices

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    superagaS
    Hi again @Chris-Kawa, Thanks again for your answers. I'm not used to use designer to make the "skeleton" of the GUI (I feel more confident, and I find it more simple by code) but after read your answer I think that it might be useful to compare the different generated code. I completely agree regarding the nested layouts and the widgets names too... When the used names are really meaningful, otherwise... Thanks also for the objectName explanation, now makes sense and no, I never used it and I have same your thoughts on this (objects name are enough). I can then consider close this thread. Many thanks! Best regards, AGA
  • Build QtDeclarative for Qt5.9.9

    Unsolved
    4
    0 Votes
    4 Posts
    829 Views
    JKSHJ
    @Creatorczyk said in Build QtDeclarative for Qt5.9.9: @JKSH My old project require QDeclarative because I used quick1, I need build QDeclarative Qt Quick 1 was removed in Qt 5.6. If you want to build it, you must download the code from qtquick1.git separately: https://code.qt.io/cgit/qt/qtquick1.git/ C:\Qt\Qt5.9.9\5.9.9\Src\qtdeclarative contains Qt Quick 2.
  • what is reson behind error malloc(): unaligned tcache chunk detected ?

    Unsolved
    12
    0 Votes
    12 Posts
    15k Views
    jsulmJ
    @Qt-embedded-developer Where exactly is this lib located? You can set LD_LIBRARY_PATH (in same terminal where you're calling valgrind) to point to the folder where this lib is located. Keep in mind that you can also use Valgrind directly in QtCreator.
  • How to create a single-shot, one-time connection to a lambda?

    Solved
    7
    0 Votes
    7 Posts
    13k Views
    T
    In Qt6 there is a new connection type Qt::SingleShotConnection. See more in this KDAB blog: https://www.kdab.com/single-shot-connections/
  • This topic is deleted!

    Unsolved
    5
    0 Votes
    5 Posts
    10 Views
  • Widget overlapping other widget in QGridLayout is visible, but unresponsive

    Unsolved
    7
    0 Votes
    7 Posts
    839 Views
    Chris KawaC
    @qwasder85 I don't know Qt's event forwarding code by heart, but my guess is that it uses layout as a shortcut to find the right widget and it gets confused by this. Honestly, unless it's documented somewhere, this looks more like a bug than a feature. I wouldn't rely on it even if it worked. Can't you just make p_sidebar a child of p_work_area if you want to cover it? Sounds like a more sensible approach structure wise.
  • SetGeometry: Unable to set geometry

    13
    0 Votes
    13 Posts
    21k Views
    M
    @hskoglund Thanks, by adding setGeometry(200,200,200,200) my probleam resolved.
  • 0 Votes
    24 Posts
    6k Views
    jsulmJ
    @Dean21 Please show your current code if something does not work...
  • How to add trace in qml file ?

    Unsolved
    3
    0 Votes
    3 Posts
    368 Views
    Q
    @JKSH it something like you mentioned but not same like it. because i have to get the trace information from whole application and as well as may be able to enable and disable that information compile time and runtime. because ultimate goal is when application start and unfortunately it crash then i have to find from where it get crashed using this trace log.
  • error from moc: 'x' does not name a type

    Unsolved
    4
    0 Votes
    4 Posts
    348 Views
    D
    Hi, thank you very much for your attention. Of cause 'X' is just a replacement. I finally found the error: I had a name clash between enum and class - so I started using namespaces and name clash is history.
  • QTest and std::unique_ptr is a bit confusing

    Unsolved
    3
    0 Votes
    3 Posts
    285 Views
    C
    Perhaps your find() function makes the assumption that start and end are zero at invocation and behaves oddly if that is not the case. As the for the split test case still returning 3, this is quite possibly because you are still running the original test executable. Did you ensure you have a clean build of the test cases?
  • Customizeable List view items

    Unsolved
    2
    0 Votes
    2 Posts
    219 Views
    SGaistS
    Hi, How did you implement the delegate ?
  • Scrolling inside a Qtoolbox

    Unsolved
    8
    0 Votes
    8 Posts
    619 Views
    SGaistS
    Did you remove the "widget" and applied the vertical layout on scrollAreaWidgetContent as suggested ?
  • How to create AppImage using linuxdeployqt?

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    sierdzioS
    @HFT_developer said in How to create AppImage using linuxdeployqt?: In my virtual machine do I need Qt and clone the repository and basically do everything I would do on my normal linux boot? Yes.
  • QRegularExpression

    Unsolved
    4
    0 Votes
    4 Posts
    328 Views
    JonBJ
    @Morgatte Fine, well, QRegularExpression works OK so I don't know what you were expecting.
  • ....forwarded to the calling process.??

    Locked Unsolved
    19
    0 Votes
    19 Posts
    1k Views
    Christian EhrlicherC
    I've restored them so we can refer to them when the same question is asked in two weeks again.
  • QtWebView - WebRTC - macOS support back to 10.14

    Unsolved
    1
    0 Votes
    1 Posts
    358 Views
    No one has replied
  • Conditional borders on QTableWidget cells?

    Unsolved
    11
    0 Votes
    11 Posts
    5k Views
    A
    @abdv17 how did you do that?
  • Can J1939 Example

    Unsolved can can bus qt5.15.2
    3
    0 Votes
    3 Posts
    856 Views
    Y
    @JKSH thanks for the reply. I want to implement DTC parsing and want to develop GUI based on data received through it. Mainly I want belwo 2 things to implement. 1.DTC parsing to get SPN/FMI details. 2.Decoding PGN and related details from received CAN frame.