Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.3k Posts
  • Handling multiple fingers on apple trackpad?

    Unsolved
    2
    0 Votes
    2 Posts
    556 Views
    Chris HennesC
    With the caveat that I haven't written the code yet, I was planning on using QNativeGestureEvent in my code, with the assumption that what you are describing is what it does.
  • QStandardItemModel does not update QTableView after new Row insert

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    P
    I add one row only, by clicking a QPushButton. I used to add a row and nothing would be displayed (before I change to appendRow). You mean I should not use the appendRow? Why? It seems to work fine.
  • Cannot convert Qt4 Signal and slot to Qt5 Syntax

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    The problem with your approach is that the classes that might be interested with the update have to know about your singleton, it should rather be done on a higher level e.g. the class that will manage the lifetime of QmlImagePainter.
  • How to use flags as custom widget property type in QT?

    Unsolved
    1
    0 Votes
    1 Posts
    353 Views
    No one has replied
  • QLineedit

    Unsolved
    2
    0 Votes
    2 Posts
    540 Views
    mrjjM
    @SurendarK said in QLineedit: Hi, maybe. If there is a key for its color You can try to fool around with https://forum.qt.io/topic/1137/change-qlineedit-text-cursor-shape/3 Not sure if the color can be controlled.
  • Qt4 copy/paste issue when using some XServer

    Unsolved
    2
    0 Votes
    2 Posts
    460 Views
    jsulmJ
    @i_love_rainbow You should check the Qt Bugtracker https://bugreports.qt.io/secure/Dashboard.jspa And/or ask on Qt mailing list. This is Qt user forum.
  • Webinar - Qt on Ubuntu Core

    Locked Unsolved
    2
    0 Votes
    2 Posts
    513 Views
    VRoninV
    Duplicate of https://forum.qt.io/topic/76393/webinar-qt-on-ubuntu-core
  • Is it possible to integrate Motif widget in Qt5?

    Unsolved
    2
    0 Votes
    2 Posts
    906 Views
    mrjjM
    @i_love_rainbow Hi This version says it works with Qt5 https://github.com/staalmannen/qtmotifextension Rewriting it for Qt is not an option?
  • Make QLightEntity follow QCamera

    Unsolved qt3d qcamera qlightentity
    6
    0 Votes
    6 Posts
    3k Views
    C
    @kshegunov I think you are right. By just putting the lightentity into the camera: Qt3DCore::QEntity *lightEntity = new Qt3DCore::QEntity(basicCamera); It seems to move dynamically. Now I have to set some other things but that might have to do just with how I want my objects to show :)
  • QTimeedit Set Default text

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    mrjjM
    @SurendarK Hi, no, its not possible to have empty date like that. The docs says "If you specify an invalid format the format will not be set." So it must be valid. :)
  • Not possible to set layout on custom widget plugin

    Unsolved plugin custom widgets
    3
    0 Votes
    3 Posts
    2k Views
    H
    Thanks for the link, but I am mostly interested in being able to do it all through the Qt Designer UI via a plugin.
  • Moving ListView Y position Vertically on focus of Child

    Unsolved
    2
    0 Votes
    2 Posts
    453 Views
    p3c0P
    @Beemaneni-Bala Try setting snapMode to ListView.SnapToItem.
  • Get QSharedPointer's Reference Count

    Unsolved qsharedpointer
    4
    0 Votes
    4 Posts
    3k Views
    mrjjM
    @Nishant-Sharma Well if feel for it, you can add such info to the class yourself, maybe with extra debug information. or simply use std::shared_ptr Give it a day or two. I think other might have good idea regarding this :)
  • Including Banner ad

    Unsolved
    2
    0 Votes
    2 Posts
    431 Views
    jsulmJ
    @samdol It's outside of Qt. You will need to use something like https://www.google.com/adsense/start/#?modal_active=none
  • Stream XML Data over TCP

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    jsulmJ
    @Guju In connected() slot you commented out socket->write("<all/>");
  • Best way to paint handwriting from digital pencil?

    Unsolved
    3
    0 Votes
    3 Posts
    561 Views
    P
    I forgot to mention that some sort of vectorized smoothing would be really nice if I am just using QPainterPath::lineTo() @dheerendra said in Best way to paint handwriting from digital pencil?: You can look at scribble example in qt installation examples directory. Thanks, I'll have a look at that.
  • How to send parameters in Http post request

    Unsolved
    2
    0 Votes
    2 Posts
    574 Views
    dheerendraD
    You can look at qnetworkrequest and post request in qt documentation. Also look at qt examples which has sample for this
  • UTF-8 characters acting strangely in Windows (but not Linux)

    Solved
    9
    0 Votes
    9 Posts
    5k Views
    eggbertxE
    @Chris-Kawa I had already set QMAKE_CXXFLAGS += /utf-8 in my pro file and I ran qmake already. But using out.setCodec("UTF-8"); fixed the issue.
  • How to implement a scrollbar for Qframe in which user add many labels by clicking button

    Unsolved
    12
    0 Votes
    12 Posts
    6k Views
    SGaistS
    Hi, That's because m_Area is a "free" widget, you don't put it as central widget of your QMainWindow subclass thus it's put on the default location (0, 0) which happens to be top left. It will also not get resized automatically since it's not part of any layout. In the case of QMainWindow, like I wrote before, you can set it as central widget.
  • Unable to compile QTWebEngine 5.8.1 git chromium spellchecker examples

    Unsolved
    4
    0 Votes
    4 Posts
    659 Views
    A
    @echelon said in Unable to compile QTWebEngine 5.8.1 git chromium spellchecker examples: For the icu, now i am starting to recompiling my qt 5.8.1-git toolkit with icu 56.1, i hopes this is only runtime and api problems. On 5.7.1, i can mix match between qtwebengine built-in icu and qt in general icu, i was using 58.1. Hopefully that is the case. I find ICU to be a pain. I always end up with issues with distribution and Qt because of ICU. Lately I've stopped building with it, but the applications I've written recently only support english so I don't need the ICU stuff. I know I should really support unicode though to allow for easy translations to other languages. It's always just such a hassle as you're seeing right now. Let me know how it goes.