Skip to content

Qt Creator and other tools

Have a question about Qt Creator, our cross-platform IDE, or any of the other tools? Ask here!
7.6k Topics 35.5k Posts
  • QMake generate bad solution version, 2019 needed, 2017 generated

    Unsolved
    1
    0 Votes
    1 Posts
    349 Views
    No one has replied
  • automatic formatting of try-catch

    Solved editor autoformat creator
    4
    0 Votes
    4 Posts
    1k Views
    D
    @aha_1980 This is exactly, not almost, what I was looking for. Thanks a lot!
  • Qt Creator Switch between debug and release without re-running qmake

    Unsolved
    1
    0 Votes
    1 Posts
    220 Views
    No one has replied
  • Generic highlighter ignored?

    Unsolved
    1
    0 Votes
    1 Posts
    198 Views
    No one has replied
  • QtCreator and multiple monitors

    46
    0 Votes
    46 Posts
    53k Views
    S
    I cannot believe it. We have middle of 2020 and Qt Creator is still with its design stuck in 1990 with absolutely no inclination to provide fully fledged multi-monitor support. Compared the quality of life when working with Visual Studio Qt Creator simply depresses me.
  • Qt Creator cmake problem

    Unsolved
    1
    0 Votes
    1 Posts
    195 Views
    No one has replied
  • qt cmdline app does not launch on mac OS X 10.14.6

    Unsolved
    11
    0 Votes
    11 Posts
    933 Views
    ademmlerA
    @JonB Forgive me please for being the reason for your troubles. As I always have been thank full to you - your advices and comments made me feel like an idiot. Ofcourse I always first search in the documentation, than the web for a working sample.
  • installer.executeDetached() behaves differently between Mac & Linux

    Unsolved
    8
    0 Votes
    8 Posts
    671 Views
    SGaistS
    Depending on the macOS version you may have to also notarize it. I currently do not know whether there's any relation between the two but I would not find it surprising.
  • Mac: how to I use binarycreator -s to sign my app?

    Unsolved
    1
    0 Votes
    1 Posts
    204 Views
    No one has replied
  • Qt Creator architecture review or developer guide. Where to find?

    Unsolved
    4
    0 Votes
    4 Posts
    645 Views
    Pablo J. RoginaP
    @bogong you may want to check with the Qt Creator mailing list
  • gdb in QtCreator on windows quits constantly

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    I
    @JohnGa Thank you. It worked
  • How to install C17 on Linux and setup QT Creator?

    Moved Solved
    13
    0 Votes
    13 Posts
    2k Views
    N
    @JonB thank you very much and it did compile, even when return to c11. : ) well, i want that piece of code to go over rows and columns in an elegant fashion, not using nested for loops. i found that piece of code on stack exchange, than i found out it didn't compile on my system, but it did on online cpp compilers like: https://gcc.godbolt.org/ and you couldn't solve that ...
  • QT-Creator and database on Raspberry3

    Solved
    3
    0 Votes
    3 Posts
    317 Views
    K-StrK
    Hi SGaist, thanks for your anwer. Yes it is. Sorry!
  • Why 'qtcreator.7z' has no 'sdktool' included?

    Unsolved
    5
    0 Votes
    5 Posts
    451 Views
    D
    OK, thank you!
  • What is the hint order for member variable input in qt creator?

    Unsolved
    8
    0 Votes
    8 Posts
    934 Views
    Crawl.WC
    @aha_1980 I found the pattern as I said in my first answer.I mean maybe it would be better in the defined order, or I can decide what sort of strategy to use.
  • How to install QtWidget & QtQuick documentation into new QtCreator install

    Unsolved
    1
    0 Votes
    1 Posts
    151 Views
    No one has replied
  • QtInstaller framework silent install option

    Solved
    2
    0 Votes
    2 Posts
    531 Views
    sierdzioS
    @vyau said in QtInstaller framework silent install option: Is it available to my installer that I packaged using QtInstaller? Yes. If this is available, does that mean I can fire off my installer without needing a windowing system handy (e.g. I ssh to remote host and not sending X traffic back)? Yes you can use it via ssh. But you do need a windowing system installed, I think it will fail to run without it (maybe I'm wrong).
  • Need help with gui.pageWidgetByObjectName()

    Unsolved
    1
    0 Votes
    1 Posts
    204 Views
    No one has replied
  • QtInstaller framework - "Back" button retain previous selections

    Unsolved
    1
    0 Votes
    1 Posts
    236 Views
    No one has replied
  • QtSerialPort problems with the continuous reading of data from the serial port

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    KroMignonK
    @MatteoB said in QtSerialPort problems with the continuous reading of data from the serial port: void MainWindow::ReaderH() { quint64 X=20; serial->waitForReadyRead(); m_readData=serial->QSerialPort::read(X); //if (!m_timer.isActive()) // m_timer.start(5000); inter2=QString(m_readData); QStringList firstlist2= inter2.split(";"); m_readData3=firstlist2.takeFirst(); H=m_readData3.toFloat(); qDebug() <<"Data:"<<m_readData<< " \r\n"; //QThread::sleep(11); } I think you have 2 problems with your implementation: first: mixing pooling mode functions (waitForReadyRead() / waitForBytesWritten()) and asynchronous functions (readyRead() / bytesWritten()) is not recommended second: a serial port link is a stream interface and not a packet interface. So you have to know how to detect message begin and end from this stream. When you read data, you may read the full message or just a part of it! So you code cannot work properly! I support your messages ends with $, so you could do something like this: void MainWindow::ReaderH() { // I support m_readData is a QByteArray while(serial->bytesAvailable()) { m_readData.append(serial->readall()); } int idx=0; while( (idx=m_readData.indexOf('$')) >= 0 ) { if(idx > 0) { auto message = QString(m_readData.left(idx)); qDebug() << "Message:"<< message << " \r\n"; } m_readData.remove(0, idx+1); } }