Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. serialport for Qt IOS
Forum Updated to NodeBB v4.3 + New Features

serialport for Qt IOS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 3 Posters 491 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    silas
    wrote on last edited by
    #1

    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:
    
        Qt5SerialPortConfig.cmake
        qt5serialport-config.cmake
    
      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.
    
    
    K 1 Reply Last reply
    0
    • S silas

      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:
      
          Qt5SerialPortConfig.cmake
          qt5serialport-config.cmake
      
        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.
      
      
      K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on last edited by
      #2

      @silas , iOS does not support the serial ports.

      1 Reply Last reply
      3
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved