Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.2k Topics 455.1k Posts
  • QToolTip opacity

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    D
    @cawell which version of Qt? Unfortunately this has a direct relationship. On version 5.9, everything worked fine everywhere. At 5.12 it was broken and it worked as I mentioned above. I didn't look further
  • Accessing delegates in QML from C++

    Unsolved
    1
    0 Votes
    1 Posts
    114 Views
    No one has replied
  • subprocess cmd Real-time output

    Unsolved
    2
    0 Votes
    2 Posts
    185 Views
    JonBJ
    @KOHAK said in subprocess cmd Real-time output: I want to enter CMD command into textbrowser What does this mean? in real time What does this mean? using subprocess module in pyqt. Is there an example site or something like that? If you want to use Python's subprocess then this has nothing to do with Qt, and you should look through any of the plethora of examples of that out on the web, in Python questions/examples.
  • Building & Running Qt programs on QtCreator for MacBook Pro M1

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    K
    @sierdzio Ah, okay then. I guess I will wait for the official support. Thanks!
  • Not to close Menu on MenuItem Click

    Unsolved menu button menuitem
    5
    1 Votes
    5 Posts
    3k Views
    A
    Just changing MenuItem to CheckBox does the job. Menu stays as long as you clicking CheckBox items: Menu { CheckBox { text: "Item A" checkable: true checked: false onCheckedChanged: { console.debug("item A", checked) } } CheckBox { text: "Item B" checkable: true checked: false onCheckedChanged: { console.debug("item B", checked) } } } This topic is still high in search results, so I think it would be helpful to post correct answer. Despite question is old it is still useful.
  • How to catch event of scrolling inside QScrollArea ?

    Unsolved
    9
    0 Votes
    9 Posts
    3k Views
    Q
    @mrjj THANK YOU
  • QT MySQL Databese connect fail

    Solved mysql database qt5.9.2 c++ localhost
    4
    0 Votes
    4 Posts
    659 Views
    E
    @Christian-Ehrlicher yes,i just realize i forget to add sql to QT += core gui sql thanks for respone anyway
  • Is there any way to recognize qmake as a symbolic link?

    Unsolved
    8
    0 Votes
    8 Posts
    689 Views
    K
    @SGaist I use qt4.8.7. qmake version is 2.1a
  • QSerialPort crashing on QT 5.9.9

    Unsolved
    3
    0 Votes
    3 Posts
    343 Views
    Ketan__Patel__0011K
    @ven1ceBeach said in QSerialPort crashing on QT 5.9.9: serial Please Assign Memory For You QSerialPort Object serial = new QSerialPort(); serial->setPortName("COM1"); //// Your Code ////
  • QSerialPort missing on QT 6.0.1 ?

    Solved
    2
    0 Votes
    2 Posts
    345 Views
    SGaistS
    Hi, IIRC, it's not part of the 6.0 release and should come back between 6.1 and 6.2.
  • Need help on adding 3rd party library to my project file

    Unsolved
    1
    0 Votes
    1 Posts
    171 Views
    No one has replied
  • Return interpolated values from QLineSeries

    Unsolved
    3
    0 Votes
    3 Posts
    616 Views
    K
    That's true, I definitely can do the interpolation, I'm just avoiding it both because Qt has already done it somewhere in the backend, and because it's going to be messy - as I mentioned I need to draw a vertical line for every pixel's width of the QChart, so it'll be a slope between every point, and then draw up to whatever height it needs. It would be nice to get the smoothness of a spline series as well, but I guess that's just higher order interpolation. I guess what I'm looking for is a way to return a vector of points that describe where, in pixel values, the QChart has drawn the line, but that might be too much to ask. ;) Thanks for your response - I'll probably do the interpolation myself unless someone else knows the magic function call!
  • BigSur Mac & QtCreator 4.12 & Qt 5.14.2 issues

    Unsolved
    6
    0 Votes
    6 Posts
    511 Views
    SGaistS
    Can you update to a more recent build of Qt Creator ? IIRC current is 4.14
  • Broken font kerning when using scaled QGraphicsVIew

    Unsolved
    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • Building open source project in Qt

    Unsolved
    3
    0 Votes
    3 Posts
    312 Views
    SysLatS
    Hello @Pablo-J-Rogina , Yes, Ice is properly installed in the VCPKG directory, which is referenced in my generator command ( I accidentally provided the command without the path properly updated in my post above): cmake -G "NMake Makefiles" "-DVCPKG_TARGET_TRIPLET=x64-windows-static-md" "-Dstatic=ON" "-DCMAKE_TOOLCHAIN_FILE=D:\Users\Skewb\Documents\repos\vcpkg\scripts\buildsystems\vcpkg.cmake" "-DIce_HOME=D:\Users\Skewb\Documents\repos\vcpkg\installed\x64-windows-static-md" "-DCMAKE_BUILD_TYPE=Release" .. Since I posted this question I've been studying CMake a bit, and I think the problem is that I can't input options into the generator (I guess?) [image: b4149733-9caf-4d83-a221-00ad94438ea0.png]
  • Trouble with QRegExpValidator

    Unsolved
    3
    0 Votes
    3 Posts
    441 Views
    JonBJ
    @Mourad2021 Now might be on opportune moment to consider moving onto QRegularExpressionValidator instead?
  • 0 Votes
    11 Posts
    958 Views
    L
    guy,I found that I made a mistake when I created a TCPSERVER and passed this pointer to QTcpServer (which was not needed). This should have caused the newly running socket to exist in the new memory thread, causing an exception on subsequent exits.
  • How to redirect stdout/etc of detached QProcess

    Solved qprocess
    11
    0 Votes
    11 Posts
    2k Views
    D
    @JonB Wait really !? I could swear that they were blocking methods hmmmmmmmmmmmmmmmmmmmmmmmmmmmmm my bad! Thanks :D
  • isVisible doesn't work if I don't use X11BypassWindowManagerHint flag

    Unsolved
    2
    0 Votes
    2 Posts
    174 Views
    L
    I also tried this no luck: networkEditor.setWindowFlags(networkEditor.windowFlags() | QtCore.Qt.X11BypassWindowManagerHint) networkEditor.move(posx, posy) networkEditor.setWindowFlags(networkEditor.windowFlags() & ~QtCore.Qt.X11BypassWindowManagerHint) This topic is relevant: https://forum.qt.io/topic/5375/qt-4-7-0-ubuntu-10-10-cannot-move-application-window-out-of-desktop-bounds/4
  • Open the selected port

    Unsolved serial port qt5 combobox
    5
    0 Votes
    5 Posts
    728 Views
    Pablo J. RoginaP
    @suslucoder said in Open the selected port: I solved it, you can delete my post. No, the solved posts don't get deleted. They remain for the benefit of other forum users having same/similar issues. It's a community driven approach, opposite to a "my problem only" driven approach