跳到內容

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 主題 35.3k 貼文
  • installer.executeDetached() behaves differently between Mac & Linux

    Unsolved
    8
    0 評價
    8 貼文
    650 瀏覽
    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 評價
    1 貼文
    201 瀏覽
    尚無回覆
  • Qt Creator architecture review or developer guide. Where to find?

    Unsolved
    4
    0 評價
    4 貼文
    623 瀏覽
    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 評價
    11 貼文
    3k 瀏覽
    I
    @JohnGa Thank you. It worked
  • How to install C17 on Linux and setup QT Creator?

    已移動 Solved
    13
    0 評價
    13 貼文
    2k 瀏覽
    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 評價
    3 貼文
    307 瀏覽
    K-StrK
    Hi SGaist, thanks for your anwer. Yes it is. Sorry!
  • Why 'qtcreator.7z' has no 'sdktool' included?

    Unsolved
    5
    0 評價
    5 貼文
    437 瀏覽
    D
    OK, thank you!
  • What is the hint order for member variable input in qt creator?

    Unsolved
    8
    0 評價
    8 貼文
    896 瀏覽
    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 評價
    1 貼文
    146 瀏覽
    尚無回覆
  • QtInstaller framework silent install option

    Solved
    2
    0 評價
    2 貼文
    393 瀏覽
    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 評價
    1 貼文
    199 瀏覽
    尚無回覆
  • QtInstaller framework - "Back" button retain previous selections

    Unsolved
    1
    0 評價
    1 貼文
    209 瀏覽
    尚無回覆
  • QtSerialPort problems with the continuous reading of data from the serial port

    Unsolved
    5
    0 評價
    5 貼文
    2k 瀏覽
    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); } }
  • Run as release with qt tools for msvc

    Unsolved
    3
    0 評價
    3 貼文
    333 瀏覽
    M
    I try to run it from visual studio. When I actually deploy it to run on its own, everything is working
  • Please help me with .qmake.cache

    Solved
    2
    0 評價
    2 貼文
    482 瀏覽
    G
    Just solved... The error was - I tried set value for cache file not inside top project file but inside "heading" subproject. When I moved both lines to top project - all began work fine. The cache() statement must be in project file before subprojects definition.
  • QtInstaller accept user's input

    Solved
    3
    0 評價
    3 貼文
    264 瀏覽
    V
    @sierdzio thanks, let me check them out.
  • Does Adding qtciphersqliteplugin will violate Qt Open source License ?

    Unsolved
    2
    0 評價
    2 貼文
    292 瀏覽
    SGaistS
    Hi, WARNING: I am not a lawyer From the looks of it, they provide the same licenses as Qt, so AFAIK, no problem. If you want to be 100% sure: ask a lawyer.
  • Error building cross-platform Qt

    Unsolved
    2
    0 評價
    2 貼文
    290 瀏覽
    mrjjM
    Hi Im one of the naysayers he mentions in the article :) But i was wondering if it just needs something like CONFIG += c++2a or QMAKE_CXXFLAGS += -std=c++2a The error sounds like it wants c++20 draft enabled.
  • Qt Installer test avalability of GUI windowing system

    Unsolved
    1
    0 評價
    1 貼文
    167 瀏覽
    尚無回覆
  • Mingw-w64: Use jom in build process

    Solved
    2
    0 評價
    2 貼文
    604 瀏覽
    F
    I posted a solution here: https://forum.qt.io/topic/87909/build-with-mingw32-make-very-slow/18