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

Opening SSL Server and Client example leads to a configuration failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.0
    • Remote Objects
    • None
    • Windows

    Description

      Opening the example below leads to a configuration failure.

      Error:

      [cmake] Running C:\Qt\Tools\CMake_64\bin\cmake.exe -S C:/Qt/Examples/Qt-6.6.0/remoteobjects/ssl -B C:/Qt/Examples/Qt-6.6.0/remoteobjects/build-ssl-Replacement_for_Qt_6_5_0_MinGW_64_bit-Debug in C:\Qt\Examples\Qt-6.6.0\remoteobjects\build-ssl-Replacement_for_Qt_6_5_0_MinGW_64_bit-Debug.
      [cmake] CMake Warning (dev) in CMakeLists.txt:
      [cmake]   No project() command is present.  The top-level CMakeLists.txt file must
      [cmake]   contain a literal, direct call to the project() command.  Add a line of
      [cmake]   code such as
      [cmake] 
      [cmake]     project(ProjectName)
      [cmake] 
      [cmake]   near the top of the file, but after cmake_minimum_required().
      [cmake] 
      [cmake]   CMake is pretending there is a "project(Project)" command on the first
      [cmake]   line.
      [cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
      [cmake] 
      [cmake] CMake Warning (dev) in CMakeLists.txt:
      [cmake]   cmake_minimum_required() should be called prior to this top-level project()
      [cmake]   call.  Please see the cmake-commands(7) manual for usage documentation of
      [cmake]   both commands.
      [cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
      [cmake] 
      [cmake] CMake Error at CMakeLists.txt:2 (qt_internal_add_example):
      [cmake]   Unknown CMake command "qt_internal_add_example".
      [cmake] 
      [cmake] 
      [cmake] CMake Warning (dev) in CMakeLists.txt:
      [cmake]   No cmake_minimum_required command is present.  A line of code such as
      [cmake] 
      [cmake]     cmake_minimum_required(VERSION 3.27)
      [cmake] 
      [cmake]   should be added at the top of the file.  The version specified may be lower
      [cmake]   if you wish to support older CMake versions for this project.  For more
      [cmake]   information run "cmake --help-policy CMP0000".
      [cmake] This warning is for project developers.  Use -Wno-dev to suppress it.
      [cmake] 
      [cmake] -- Configuring incomplete, errors occurred!
      [cmake] 
      [cmake] CMake process exited with exit code 1.
      [cmake] 
      [cmake] Elapsed time: 00:00. 

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes