Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.9k Posts
  • QT networking help please.

    Unsolved
    3
    0 Votes
    3 Posts
    237 Views
    Kent-DorfmanK
    @John-Telek said in QT networking help please.: All I want is an entry box for an ip address, a connect button and a button that send a command to the remote end and parses any responses. Is that ALL you want? LOL Lets see. First you need to study the gui widgets and understand how they work together, then you need to understand the types of IP connections and what their capabilities are, and then choose the correct type for your application, then you need to learn how to program for the selected type of network transport, then you need to have an actual "compatible program" on the destination end, and you'll need ot understand how to parse the answer you receive from the server, based on the type of IP connection to use, and lets not forget adding intelligence to handle possible errors. And that's "all you want"...hmmm
  • QQMLComponent not showing up in main Window

    Unsolved
    4
    0 Votes
    4 Posts
    980 Views
    jeremy_kJ
    The C++ code snippet in OP is missing a call to set the parent item of the instantiated component. Without that, it's not part of a scene graph. From https://doc.qt.io/qt-6/qqmlcomponent.html QQmlComponent component(engine, QUrl::fromLocalFile("MyItem.qml")); QQuickItem *childItem = qobject_cast<QQuickItem*>(component.create()); childItem->setParentItem(this);
  • get external camera data with ethernet(LAN) and save it in buffers

    Unsolved
    8
    0 Votes
    8 Posts
    675 Views
    SGaistS
    Check with the constructor documentation. It likely has a dedicated video stream, likely using the RTSP protocol.
  • Change Compiler, from MinGW to MSVC not possible?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    jsulmJ
    @noabena said in Change Compiler, from MinGW to MSVC not possible?: how do I get/download/compile it? Qt or MSVC? You can download community edition of MSVC from Microsoft (or the build tools). Qt can be installed in the usual way: using online installer (or, if you already installed some Qt versions, use the Qt Maintenance Tool to also install Qt for MSVC).
  • Windows Xp problem and which version to develop directly on Windows XP

    Solved
    3
    0 Votes
    3 Posts
    438 Views
    R
    @JonB said in Windows Xp problem and which version to develop directly on Windows XP: This may be too late. Read e.g. https://forum.qt.io/topic/73292/the-last-qt-version-that-supported-windows-xp or https://stackoverflow.com/questions/50255414/is-it-possible-to-run-a-qt-5-10-programm-on-xp, implication is that Qt ~ 5.7 is about the last which supported XP? Thank you very much, I will read the forum link you shared with me
  • Mobile compilation problem with JAVA version

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    S
    I solved the compilation problem and with purge of old java version all works fine :) Thanks a lot at all for help :)
  • check SerialPort successfully written to

    Solved
    7
    0 Votes
    7 Posts
    573 Views
    A
    OK, oddly now it is giving me false and -1, which is what I expect.
  • How to register adding row event to QTableWidget

    Unsolved
    2
    0 Votes
    2 Posts
    356 Views
    SabracS
    My current workaround is set table not editable, Then, implement cell double click slot. In cell double click slot, detect which cell is clicking at, set correspond cell widget and then programmatically edit that cell like below QModelIndex index = this->ui->tableA->model()->index(row, column); this->ui->tableA->setCurrentIndex(index); this->ui->tableA->edit(index);
  • Cant run examples

    Unsolved
    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • Problem with plugins trying to debug

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    J
    @JonB Yes, I should be getting that information. But this only happens to me when I have not run windeployqt on the app. Because if I have run windeployqt, the app does not run and no debug information is displayed. Any idea??
  • How to make layout use minimum size

    Unsolved
    3
    0 Votes
    3 Posts
    492 Views
    M
    @Kent-Dorfman said in How to make layout use minimum size: I couldnt understand actually. I grab a couple spacer and placed them.
  • How Qt Standard Support works?

    Unsolved
    2
    0 Votes
    2 Posts
    215 Views
    JKSHJ
    @Karine said in How Qt Standard Support works?: Looks like support is available only to people who bought their license, and reading here: Yes, Qt Standard Support is offered to users who have an active commercial license. This price is for companies or there is a different plan for individual developers? The pricing is per-developer. I was wondering, how I could get in contact with Qt devs to get support in case I could not find any answer here or on any other site, forum, etc. ... Suppose I buy this plan, I'll be able to mail the support only for a month, or as now I'm a 'license holder' I'll be able to get support even when the plan finishes? When you have an active license, you can open requests for technical support at https://account.qt.io/s/support-center You can no longer make support requests after your license has expired. Community support -- in the Qt Forum, the mailing lists, or other online communities -- does not expire, but it does depend on community members being able and willing to look at your issue.
  • Find color of QRect

    Unsolved color beginner rectangle qrect
    6
    0 Votes
    6 Posts
    2k Views
    Kent-DorfmanK
    haven't looked because I had no reason to use it, but some graphics APIs have a ValueOfPixel() function to get the attributes of an on-screen pixel. Seems of limited use though, since it is assumed that if you put down a pixel in the first place then you should know how you rendered it. FWIW, if your QPainter is rendering to a pixmap/bitmap then you should be able to get the rendered value from that backing.
  • Problem with query

    Solved
    7
    0 Votes
    7 Posts
    969 Views
    K
    @ChrisW67 Thank you this helped.
  • Qt+QML application on remote machine

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    SGaistS
    Then, if you don't already have, create a ssh configuration file that sets the parameters connection for your remote machine. Test it by connecting from your terminal and start a GUI app like the one you are developing. Once you have that working, retry with Qt Creator.
  • 0 Votes
    4 Posts
    812 Views
    SGaistS
    @Dadi can you provide a minimal compilable example to your bug report ? That will make the debugging of the situation easier.
  • How to create a custom grip to resize widgets inside a layout?

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi, Beside the excellent points pointed by @Chris-Kawa, aren't you trying to recreate QSplitter ?
  • Function that use setfill and setw to return a QString

    Solved
    3
    0 Votes
    3 Posts
    583 Views
    ApprenticeRenoA
    @Chris-Kawa Thank you very much.
  • QMYSQL driver not loaded. Windows x64 deployment.

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    H
    In my case Windows 10 while deploying to other PC, I have to copy, libmysql.dll, libcrypto-1_1-x64.dll and libssl-1_1-x64.dll and sqldriver folder(which will added by windwployqt.exe) to app folder. It can download from here https://github.com/thecodemonkey86/qt_mysql_driver/releases/tag/qmysql_6.4.1 , or copy from mysql install directory.
  • SerialPortinfo::availableports()

    Solved
    9
    0 Votes
    9 Posts
    890 Views
    I
    @ChrisW67 Thank you chris