Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • Connecting QDataWidgetMapper::cuurentIndexChanged(int) to a Slot

    Solved
    3
    0 Votes
    3 Posts
    170 Views
    Z
    @JonB thanks a lot I'm still at old days sorry..
  • error C2440: 'static_cast': cannot convert from 'const QObject *' to 'T'

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    P
    @jsulm Thanks a lot for your kind support. Now, the compilation errors have been gone. Thanks,
  • Not able msvc 2019 32 bit compiler in Qt 5.15.9 ?

    Solved
    9
    0 Votes
    9 Posts
    698 Views
    P
    @Bonnie Hi, Thank you... after enabling "archive" categroy, i could see msvc option in maintenance tool under Qt 5.1.5.9 . Now I will try to install it & update you. Thank you.
  • Input trough QPlainTextEdit

    Solved qplaintextedit beginner mouse event keyboard input
    10
    0 Votes
    10 Posts
    1k Views
    G
    @mpergand Thanks I figured it out from that one. For now it seems to work just fine. @JonB Thanks for the reply I toughed about that too but I'll try the eventfilter first.
  • filed to cross compile QT using arm-linux-gnueabihf-gcc

    Unsolved
    3
    0 Votes
    3 Posts
    450 Views
    B
    @sierdzio Thank you. I have tried it on Linux, and cross compilation works normally. The problem is that when running the same commands on Windows, I get different results.
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    14 Views
  • In what package is QtSvg in?

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    C
    @ChrisW67 It is not, at least not on ubuntu
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • How to hide GridView when zooming in a picture shown on QGraphicsView

    Unsolved
    4
    0 Votes
    4 Posts
    229 Views
    Pl45m4P
    @Vesper There is no "gridview"... it's the image resolution from zooming too close. I dont know for sure, but maybe QGraphicsView has a lower resolution than images on QLabel
  • always get key inputs from application (if app even not active)

    Unsolved
    5
    0 Votes
    5 Posts
    344 Views
    J
    @SimonSchroeder this Qt app seem to be working as I requested, I post later after tests https://github.com/Skycoder42/QHotkey
  • Widget for Toggle switch in pyside6

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    What you can do is use a stylesheet to customize the image used for your toggle. See customizing QCheckBox.
  • "Don't call QList::front() on a temporary" clazy warning, what is it about?

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    Christian EhrlicherC
    @Violet-Giraffe said in "Don't call QList::front() on a temporary" clazy warning, what is it about?: calling front() can never create a copy of an std container. Yes because the copy occoured already before.
  • qDebug() with color

    Unsolved
    4
    1 Votes
    4 Posts
    1k Views
    JonBJ
    @Chris-Kawa said in qDebug() with color: For example Qt Creator Application Output supports ANSI escape sequences That I didn't know, I thought it was raw output.
  • is it possible to capture Windows Key using QKeyEvent and other related tools

    Unsolved
    3
    0 Votes
    3 Posts
    358 Views
    J
    @Pl45m4 I that 100% true? because shortcut is currently seen even if app is not active... [1] WIN key is big difference/issue for QT? [2] I need to get shortcuts if app windows is not active,
  • How to make expanding list with text like this

    Unsolved
    2
    0 Votes
    2 Posts
    153 Views
    Christian EhrlicherC
    This is a treeview - so QTreeView or QTreeWidget depending on your needs.
  • get asynchronous keys with Qt

    Unsolved
    7
    0 Votes
    7 Posts
    430 Views
    J
    @ChrisW67 I found solution, but it still blocks keyboard input when application is active solution: https://github.com/Skycoder42/QHotkey
  • How to debug with gdb code before return a.exec(), after gdb passed after a.exec() line

    Unsolved
    2
    0 Votes
    2 Posts
    175 Views
    Christian EhrlicherC
    Add your breakpoint inside your widget's code.
  • How to rename project

    Unsolved
    2
    0 Votes
    2 Posts
    186 Views
    SGaistS
    Hi, Close Qt Creator Rename the .pro file Edit the .pro file and update the target name Rename the project folder Open project with Qt Creator
  • Parse json string to QMap

    Unsolved
    14
    0 Votes
    14 Posts
    2k Views
    JonBJ
    @SGaist I know, I was agreeing with you :) No idea how much JSON data OP has to parse. They might read it in as QVariantMap and transform in code to some specific QMap<..., ...> if demanded. Not the fastest, but might be quickest if OP wants to write it. Integrating the code you referenced has its own overheads :)
  • This topic is deleted!

    Unsolved
    10
    0 Votes
    10 Posts
    48 Views