Important: Please read the Qt Code of Conduct -

serialport for Qt IOS

  • Hi! I am trying to build a cross-platform software. But I cannot find serialport module in qt for ios binaries, which is necessary for project. Any way to build it for ios kit? Or I have to disable relative code manually? Thanks !

    -- Found Qt5: /Users/runner/work/stellarium/Qt/5.12.10/ios/bin/qmake (found suitable version 5.12.10)
    CMake Error at CMakeLists.txt:486 (FIND_PACKAGE):
      By not providing "FindQt5SerialPort.cmake" in CMAKE_MODULE_PATH this
      project has asked CMake to find a package configuration file provided by
      "Qt5SerialPort", but CMake did not find one.
      Could not find a package configuration file provided by "Qt5SerialPort"
    -- Configuring incomplete, errors occurred!
      with any of the following names:
      Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH or set
      "Qt5SerialPort_DIR" to a directory containing one of the above files.  If
      "Qt5SerialPort" provides a separate development package or SDK, be sure it
      has been installed.

  • Qt Champions 2020

    @silas , iOS does not support the serial ports.

  • Lifetime Qt Champion


    Out of curiosity, what are you going to use for serial communication on iOS ?

Log in to reply