Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • QObject Memory management of heap objects - what magic is this?

    Solved
    3
    0 Votes
    3 Posts
    189 Views
    _
    @Christian-Ehrlicher Yes it looks like a decision the programmer makes. Must read the doc...
  • 0 Votes
    1 Posts
    111 Views
    No one has replied
  • QT Creator Newbie - Project Files & Adding new source

    Solved
    2
    0 Votes
    2 Posts
    185 Views
    jsulmJ
    @_craker_ said in QT Creator Newbie - Project Files & Adding new source: CMakeList.txt IS the project file for CMake based projects.
  • QGroupBox::title

    Solved
    2
    0 Votes
    2 Posts
    239 Views
    S
    @saint_-_yao i found it by myself "QGroupBox { border : 1px solid black; margin-top: 0.5em;}" "QGroupBox::title { subcontrol-origin: margin; left: 14px ; padding-top: -2px; padding-left: 3px;}")
  • Drag & Drop do not working when using UAC

    Unsolved
    2
    0 Votes
    2 Posts
    656 Views
    xanaduX
    @sunghwawe Hello, have you solved the problem of the Qt drag and drop program under the administrator? Can you tell me?
  • Scroll area not scrollable

    Unsolved
    1
    0 Votes
    1 Posts
    174 Views
    No one has replied
  • how to get m_name data to the Text which is written in mainrootwindow.qml

    Solved
    2
    0 Votes
    2 Posts
    154 Views
    P
    It works now....the reason is when i build the program the m_name stores the default value as "Null". Then i give some input after build, the function don't call where the text is called. So it always show the Null value(which is empty text). Here's how i solved it by using the timer to call the function. Text{ id: username text: qsTr(database.name) color : "#F25822" font.pointSize: 9 font.bold: true anchors.left: parent.right anchors.top: parent.top anchors.topMargin: 20 } Timer { interval: 500; running: true; repeat: true onTriggered: username.text = database.name } Hope this will help in future who have same issue.
  • QT NAMES Qt6 Qt5 COMPONENTS Core Core5Compat not working

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    X
    @Diego-Iastrubni okay I will try that But it’s supposed to pick up MAJOR and MINOR
  • Error: LINK2019, LINK2001 on MSVC

    Solved
    3
    0 Votes
    3 Posts
    227 Views
    M
    @jsulm Thanks so much.. ^^
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    39 Views
  • Run app issue: ld returned 5 exit status

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    K
    @JonB nothing really handy. Downgrade myself to 5.15 and everything works smoothly there. In 6.4.3 unfortunately mingw 32bit is not supported. I will stick to 5.15 then. Thank you very much for support. You are great !
  • How to change the style sheet for QCheckBox:disabled

    Unsolved
    4
    0 Votes
    4 Posts
    411 Views
    SGaistS
    Can you share a minimal script that shows this behaviour ?
  • Question about image acquisition (WIA, Sane etc.)

    Unsolved
    2
    0 Votes
    2 Posts
    197 Views
    SGaistS
    Hi and welcome to devnet, To the best of my knowledge there's no prebuilt module for that in Qt. However, I would check KDE's project to see if they have something that might be cross-platform for that.
  • QProxyStyle control for QTableWidget grid color?

    Solved qproxystyle qtablewidget
    2
    0 Votes
    2 Posts
    721 Views
    Christian EhrlicherC
    @CJha The grid color of a QTableView is determined by QStyle::SH_Table_GridLineColor
  • Qt Maintenance Tool add new components

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    JonBJ
    @mihaijulien said in Qt Maintenance Tool add new components: High-level programming, on Linux, in need of a debugger. I thought that Qt Creator comes with an option to install a debugger. CDB is for Windows, not Linux! As @Abderrahmene_Rayene said, you should already have gdb installed on Linux along with your gcc toolchain, and Qt Creator will happily use that. So far as I can see you have and Creator has detected it, so you should already be good to go for debugging?
  • Weird build behavior

    Solved
    11
    0 Votes
    11 Posts
    715 Views
    Atr0p0sA
    @SGaist Thank you, sir!
  • Windows app crashes when bluetooth disabled

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    J
    @Cobra91151 thank you so much, i used your method, it works well
  • 0 Votes
    14 Posts
    5k Views
    JonBJ
    @SimonSchroeder Which I think is the same sort of thing as I suggested earlier: Or similarly to avoid having to change the actual slot function code, have the connect go via an intermediate slot which does this testing work and calls the real slot if the flag is clear. Ugly, but so are the other proposals....
  • QTableWidget editing started?

    Unsolved qtablewidget
    3
    0 Votes
    3 Posts
    1k Views
    CJhaC
    @JonB Thanks for the link to the previous question, I somehow missed it while trying to look for an answer. I will try to implement one of the methods to get the editing started signal.
  • How to print an image using qextserialport ?

    Unsolved
    2
    0 Votes
    2 Posts
    106 Views
    jsulmJ
    @Srinath_S Would you mind to provide a better description? Do you want to send/receive or really print an image?