Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134674

opcua/waterpump/simulationserver example does not build with Boot to Qt

    XMLWordPrintable

Details

    • 2f066e198 (dev), 090a5c549 (6.9), 7410114fb (tqtc/lts-6.8)

    Description

      Building with:

      /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/qt-cmake -GNinja CMakeLists.txt -B build
      cmake --build build --parallel
      cmake --install build --prefix /home/qt/RTA/usr --config Debug
       

      the build fails with:

       CMake Warning at /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/lib/cmake/Qt6OpcUa/Qt6OpcUaMacros.cmake:11 (message):
        No value set for CMAKE_BUILD_TYPE.  Can't disable optimizations.
      Call Stack (most recent call first):
        CMakeLists.txt:64 (qt_opcua_disable_optimizations_in_current_dir)
      -- Configuring done (0.7s)
      FAIL 16:48:33
      CMake Error at /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:688 (add_executable):
        Cannot find source file:
          ../../../../src/plugins/opcua/open62541/qopen62541utils.cpp
        Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
        .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
        .f95 .f03 .hip .ispc
      Call Stack (most recent call first):
        /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:639 (_qt_internal_create_executable)
        /home/qt/RTA/B2Qt_6.9.0/6.9.0/Boot2Qt/imx93-11x11-lpddr4x-evk/toolchain/sysroots/cortexa55-poky-linux/usr/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:938 (qt6_add_executable)
        CMakeLists.txt:28 (qt_add_executable)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              basyskom.jannis.voelker Jannis Völker
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes