Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • 【Error:qt.bluetooth: Dummy backend running】with Running Bluetooth Examples

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    jsulmJ
    @Alex_wang You should have much more output when starting with QT_DEBUG_PLUGINS set.
  • TableWidget cell highlights sometimes and other times doesn't. Two cell widget types.

    Unsolved
    3
    0 Votes
    3 Posts
    661 Views
    VRoninV
    Or just do the right thing and use a delegate (QStyledItemDelegate subclass) for the columns instead of setCellWidget
  • XCB error: 148 - Qt application display issues

    Unsolved
    11
    0 Votes
    11 Posts
    15k Views
    mrjjM
    @Jonathan-Levanon Hi Normally you create a deployment folder containing a few subfolders ( like platforms ) and the needed dlls/so files. http://www.tripleboot.org/?p=138 http://doc.qt.io/qt-5/linux-deployment.html You can also test this app https://github.com/probonopd/linuxdeployqt (i have not tried it yet) To inform the loader on linux about the so files in the folder, you can use rpath.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    56 Views
  • Drag & Drop do not work when using UAC

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    K
    @sunghwawe Hi and welcome to devnet forum I guess your other post is about the same topic. According to google translate this is Korean. All posts in non-language specific fora shall be in English. Unfortunately, we do not have a Korean forum, yet.
  • How I can solve this problem

    Unsolved
    3
    0 Votes
    3 Posts
    658 Views
    jsulmJ
    @Decroit Did you install QGroundControl? It is not part of Qt.
  • 0 Votes
    5 Posts
    1k Views
    B
    @hskoglund said in The most bizarre bug I have ever seen, Random Chinese translation? How can this happen?: Hi, do you delete the ""communication_log.txt" file every time before running your app? Otherwise it could be some junk characters lingering at start of the file that causes your Chinese woes... Yes I do. The log's purpose is to locate bugs so I have no need to keep track of previous logs. @artwaw said in The most bizarre bug I have ever seen, Random Chinese translation? How can this happen?: Hi, have you tried: log.open(QIODevice::Text | QIODevice::Append);? No I have not. I think I will add it. I already changed some code and it does not happen anymore, but I'll add it anyway ;)
  • Send QString with Tildes and Accent to MySQL?

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    E
    @Vinod-Kuntoji I think the problem happends when Qt program sends the data to MySQL. I have no problem with typical english characters but with acents and Ñs is another story.
  • Aligning Editor to tableView cell

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    G
    @VRonin Thank you. This worked with the following changes: QGridLayout* mainLay = new QGridLayout(this);
  • QFile save for usb drive

    Unsolved
    31
    0 Votes
    31 Posts
    15k Views
    mrjjM
    @samdol I hope you get same result :) You can download sp 1 as a file and move to other machine.
  • 0 Votes
    6 Posts
    3k Views
    P
    I guess if there had been concern of a leak, that was apparently a false positive of a unit test. (I'm not sure about this detail). This has been resolved, as of today. Here is a summary: This bug originally appeared in Qt 5.0, was reported in Qt 5.3.0 (QTBUG-39147), and fixed for Qt 5.9.2 (on 7-19-2017). The removal of Qt_WS_* macros (replaced with Q_OS_* macros), and incomplete porting of the widgets/kerna/qtooltip.cpp module, caused the QTipLabel to be instantiated with the client widget as its parent widget. That had been a known problem on Windows which directly caused this dysfunction (Showing a tooltip raises the whole window). See "Patch Set 6" in this Qt code review page, and it's associated "gitweb" link, and the original bug report: https://codereview.qt-project.org/#/c/177376/ https://bugreports.qt.io/browse/QTBUG-39147
  • Window resize very slow on Windows 10

    Locked Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    SGaistS
    Hi and welcome to devnet, Please don't post the same question in multiple sub-forum. One is enough. duplicates Closing this one.
  • How can i read something that is encoded in UTF-8?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    SGaistS
    The output of qDebug will partly depend on your locale as well as it will escape non-printable characters.
  • Does creating apps without any layouts create any problems ?

    Unsolved
    3
    0 Votes
    3 Posts
    870 Views
    S
    @sontung If it is a windows application, without layout, the content widget won't expand or shrink automatically when you resize you window. For example, Text edit widget inside dialogBox will not expand or shrink as resizing dialog box which is not convenient for users.
  • Stuck trying to understand model/view in Python

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    kshegunovK
    @Phill said in Stuck trying to understand model/view in Python: But does not allude to a way for the data structure to let the model know that it has changed. For example if "Device 1" communicates that recording has stopped how would I inform the model that the recording attribute has changed? That is because it's entirely up to you. The model is just a interface (a facade) for the data. You must ensure that it emits the appropriate signals so it notifies the view, and if your model's data can be edited from the view, then it must also implement QAbstractItemModel::setData and friends, but there are no real requirements on how the model will bookkeep the dataset (if at all). One possibility is that your device is represented by a QObject and emits signals which are connected to slots in your model.
  • 0 Votes
    2 Posts
    611 Views
    VRoninV
    The easyest way is using QDockWidget or QMdiSubWindow (but the first is probably what you want)
  • C++ <complex> yielding strange behavior

    Solved
    13
    0 Votes
    13 Posts
    3k Views
    kshegunovK
    @mzimmers said in C++ <complex> yielding strange behavior: I'd expect the .exe suffix to prevent it, but who knows... Yes, that is correct, it's a linux/mac peculiarity.
  • qttelnet on Github

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    N
    Thanks you all. It works now. I configured it using gitbash of MinGW Distro and now i can use qttelnet in my poject including the .pri as mrjj said !.
  • Draw on a QChart

    Unsolved charts graphics view draw
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied