Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Performing Test Qt5Gui_PRIVATE_HEADER_FOUND - Failed
Forum Updated to NodeBB v4.3 + New Features

Performing Test Qt5Gui_PRIVATE_HEADER_FOUND - Failed

Scheduled Pinned Locked Moved Solved Qt WebKit
26 Posts 2 Posters 7.4k Views 2 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.
  • R Offline
    R Offline
    RaymondH
    wrote on last edited by
    #1

    On Linux (CentOS 6.9) I am attempting to build QtWebKit against Qt 5.9.6 that I downloaded from the qt.io downloads site.

    When I run Tools/Scripts/build-webkit to configure and build QtWebKit, I get this error:

    -- Performing Test Qt5Gui_PRIVATE_HEADER_FOUND
    -- Performing Test Qt5Gui_PRIVATE_HEADER_FOUND - Failed
    CMake Error at Source/cmake/OptionsQt.cmake:75 (message):
      Header private/qhexstring_p.h is not found.  Please make sure that:
    
          1. Private headers of Qt5Gui are installed
          2. Qt5Gui_PRIVATE_INCLUDE_DIRS is correctly defined in Qt5GuiConfig.cmake
    Call Stack (most recent call first):
      Source/cmake/OptionsQt.cmake:612 (CHECK_QT5_PRIVATE_INCLUDE_DIRS)
      Source/cmake/WebKitCommon.cmake:50 (include)
      CMakeLists.txt:137 (include)
    
    -- Configuring incomplete, errors occurred!
    

    I don't know what to do to fix this.

    On another thread it was suggested to add the following to the .pro file, which I did to the WebKit.pro file, but it made no difference:

    QT += gui-private
    

    I checked the Qt5GuiConfig.cmake file in my Qt directory and there was some stuff that defined Qt5Gui_PRIVATE_INCLUDE_DIRS (as far as I could see).

    I got this same error on Windows a while back and was not able to resolve it there either.

    Thanks for any assistance.

    Raymond.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RaymondH
      wrote on last edited by
      #24

      Apparently a former build, or something, created the following files, which show up as new files when doing a git status command:

              Source/JavaScriptCore/disassembler/udis86/ud_optable.pyc
              Source/WebCore/inspector/CodeGeneratorInspectorStrings.pyc
              Source/WebKit2/Scripts/webkit2/__init__.pyc
              Source/WebKit2/Scripts/webkit2/messages.pyc
              Source/WebKit2/Scripts/webkit2/model.pyc
              Source/WebKit2/Scripts/webkit2/parser.pyc
      

      Once I delete these files, and reconfigure, the problem seems to have gone away.

      Thanks Konstantin for your time.

      K 1 Reply Last reply
      0
      • K Offline
        K Offline
        Konstantin Tokarev
        wrote on last edited by
        #2

        What is the value of Qt5Gui_PRIVATE_INCLUDE_DIRS? Is private/qhexstring_p.h file present there?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RaymondH
          wrote on last edited by
          #3

          Yes, the files are all there as required. The Private include directories exist within the regular include directories: .../include/QtGui/5.9.6/QtGui/private

          Something seems to be wrong in how this directory is discovered. Do I have an incorrect/unset environment variable? Something else?

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Konstantin Tokarev
            wrote on last edited by
            #4

            Could you post contents of your Qt5GuiConfig.cmake? I still have no idea what is the value of Qt5Gui_PRIVATE_INCLUDE_DIRS in your case

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RaymondH
              wrote on last edited by
              #5

              This is the contents of the file. It is located int the Qt distribution at this location: .../lib/cmake/Qt5Gui.

              This is just using the scripts that came with Qt & QtWebKit, I don't believe I'm doing anything unusual or custom.

              if (CMAKE_VERSION VERSION_LESS 2.8.3)
                  message(FATAL_ERROR "Qt 5 requires at least CMake version 2.8.3")
              endif()
              
              get_filename_component(_qt5Gui_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
              
              # For backwards compatibility only. Use Qt5Gui_VERSION instead.
              set(Qt5Gui_VERSION_STRING 5.9.6)
              
              set(Qt5Gui_LIBRARIES Qt5::Gui)
              
              macro(_qt5_Gui_check_file_exists file)
                  if(NOT EXISTS "${file}" )
                      message(FATAL_ERROR "The imported target \"Qt5::Gui\" references the file
                 \"${file}\"
              but this file does not exist.  Possible reasons include:
              * The file was deleted, renamed, or moved to another location.
              * An install or uninstall procedure did not complete successfully.
              * The installation package was faulty and contained
                 \"${CMAKE_CURRENT_LIST_FILE}\"
              but not all the files it references.
              ")
                  endif()
              endmacro()
              
              macro(_populate_Gui_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
                  set_property(TARGET Qt5::Gui APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
              
                  set(imported_location "${_qt5Gui_install_prefix}/lib/${LIB_LOCATION}")
                  _qt5_Gui_check_file_exists(${imported_location})
                  set_target_properties(Qt5::Gui PROPERTIES
                      "INTERFACE_LINK_LIBRARIES" "${_Qt5Gui_LIB_DEPENDENCIES}"
                      "IMPORTED_LOCATION_${Configuration}" ${imported_location}
                      "IMPORTED_SONAME_${Configuration}" "libQt5Gui.so.5"
                      # For backward compatibility with CMake < 2.8.12
                      "IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Gui_LIB_DEPENDENCIES}"
                  )
              
              endmacro()
              
              if (NOT TARGET Qt5::Gui)
              
                  set(_Qt5Gui_OWN_INCLUDE_DIRS "${_qt5Gui_install_prefix}/include/" "${_qt5Gui_install_prefix}/include/QtGui")
                  set(Qt5Gui_PRIVATE_INCLUDE_DIRS
                      "${_qt5Gui_install_prefix}/include/QtGui/5.9.6"
                      "${_qt5Gui_install_prefix}/include/QtGui/5.9.6/QtGui"
                  )
              
                  foreach(_dir ${_Qt5Gui_OWN_INCLUDE_DIRS})
                      _qt5_Gui_check_file_exists(${_dir})
                  endforeach()
              
                  # Only check existence of private includes if the Private component is
                  # specified.
                  list(FIND Qt5Gui_FIND_COMPONENTS Private _check_private)
                  if (NOT _check_private STREQUAL -1)
                      foreach(_dir ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
                          _qt5_Gui_check_file_exists(${_dir})
                      endforeach()
                  endif()
              
                  set(Qt5Gui_INCLUDE_DIRS ${_Qt5Gui_OWN_INCLUDE_DIRS})
              
                  set(Qt5Gui_DEFINITIONS -DQT_GUI_LIB)
                  set(Qt5Gui_COMPILE_DEFINITIONS QT_GUI_LIB)
                  set(_Qt5Gui_MODULE_DEPENDENCIES "Core")
              
              
                  set(Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
              
                  set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED)
                  if (Qt5Gui_FIND_REQUIRED)
                      set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED REQUIRED)
                  endif()
                  set(_Qt5Gui_FIND_DEPENDENCIES_QUIET)
                  if (Qt5Gui_FIND_QUIETLY)
                      set(_Qt5Gui_DEPENDENCIES_FIND_QUIET QUIET)
                  endif()
                  set(_Qt5Gui_FIND_VERSION_EXACT)
                  if (Qt5Gui_FIND_VERSION_EXACT)
                      set(_Qt5Gui_FIND_VERSION_EXACT EXACT)
                  endif()
              
                  set(Qt5Gui_EXECUTABLE_COMPILE_FLAGS "")
              
                  foreach(_module_dep ${_Qt5Gui_MODULE_DEPENDENCIES})
                      if (NOT Qt5${_module_dep}_FOUND)
                          find_package(Qt5${_module_dep}
                              5.9.6 ${_Qt5Gui_FIND_VERSION_EXACT}
                              ${_Qt5Gui_DEPENDENCIES_FIND_QUIET}
                              ${_Qt5Gui_FIND_DEPENDENCIES_REQUIRED}
                              PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
                          )
                      endif()
              
                      if (NOT Qt5${_module_dep}_FOUND)
                          set(Qt5Gui_FOUND False)
                          return()
                      endif()
              
                      list(APPEND Qt5Gui_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
                      list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
                      list(APPEND Qt5Gui_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
                      list(APPEND Qt5Gui_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
                      list(APPEND Qt5Gui_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
                  endforeach()
                  list(REMOVE_DUPLICATES Qt5Gui_INCLUDE_DIRS)
                  list(REMOVE_DUPLICATES Qt5Gui_PRIVATE_INCLUDE_DIRS)
                  list(REMOVE_DUPLICATES Qt5Gui_DEFINITIONS)
                  list(REMOVE_DUPLICATES Qt5Gui_COMPILE_DEFINITIONS)
                  list(REMOVE_DUPLICATES Qt5Gui_EXECUTABLE_COMPILE_FLAGS)
              
                  set(_Qt5Gui_LIB_DEPENDENCIES "Qt5::Core")
              
              
                  add_library(Qt5::Gui SHARED IMPORTED)
              
                  set_property(TARGET Qt5::Gui PROPERTY
                    INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Gui_OWN_INCLUDE_DIRS})
                  set_property(TARGET Qt5::Gui PROPERTY
                    INTERFACE_COMPILE_DEFINITIONS QT_GUI_LIB)
              
                  set(_Qt5Gui_PRIVATE_DIRS_EXIST TRUE)
                  foreach (_Qt5Gui_PRIVATE_DIR ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS})
                      if (NOT EXISTS ${_Qt5Gui_PRIVATE_DIR})
                          set(_Qt5Gui_PRIVATE_DIRS_EXIST FALSE)
                      endif()
                  endforeach()
              
                  if (_Qt5Gui_PRIVATE_DIRS_EXIST
                      AND NOT CMAKE_VERSION VERSION_LESS 3.0.0 )
                      add_library(Qt5::GuiPrivate INTERFACE IMPORTED)
                      set_property(TARGET Qt5::GuiPrivate PROPERTY
                          INTERFACE_INCLUDE_DIRECTORIES ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS}
                      )
                      set(_Qt5Gui_PRIVATEDEPS)
                      foreach(dep ${_Qt5Gui_LIB_DEPENDENCIES})
                          if (TARGET ${dep}Private)
                              list(APPEND _Qt5Gui_PRIVATEDEPS ${dep}Private)
                          endif()
                      endforeach()
                      set_property(TARGET Qt5::GuiPrivate PROPERTY
                          INTERFACE_LINK_LIBRARIES Qt5::Gui ${_Qt5Gui_PRIVATEDEPS}
                      )
                  endif()
              
                  _populate_Gui_target_properties(RELEASE "libQt5Gui.so.5.9.6" "" )
              
              
              
              
                  file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Gui_*Plugin.cmake")
              
                  macro(_populate_Gui_plugin_properties Plugin Configuration PLUGIN_LOCATION)
                      set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
              
                      set(imported_location "${_qt5Gui_install_prefix}/plugins/${PLUGIN_LOCATION}")
                      _qt5_Gui_check_file_exists(${imported_location})
                      set_target_properties(Qt5::${Plugin} PROPERTIES
                          "IMPORTED_LOCATION_${Configuration}" ${imported_location}
                      )
                  endmacro()
              
                  if (pluginTargets)
                      foreach(pluginTarget ${pluginTargets})
                          include(${pluginTarget})
                      endforeach()
                  endif()
              
              
                  include("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigExtras.cmake")
              
              
              _qt5_Gui_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigVersion.cmake")
              
              endif()
              
              K 1 Reply Last reply
              0
              • R RaymondH

                This is the contents of the file. It is located int the Qt distribution at this location: .../lib/cmake/Qt5Gui.

                This is just using the scripts that came with Qt & QtWebKit, I don't believe I'm doing anything unusual or custom.

                if (CMAKE_VERSION VERSION_LESS 2.8.3)
                    message(FATAL_ERROR "Qt 5 requires at least CMake version 2.8.3")
                endif()
                
                get_filename_component(_qt5Gui_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
                
                # For backwards compatibility only. Use Qt5Gui_VERSION instead.
                set(Qt5Gui_VERSION_STRING 5.9.6)
                
                set(Qt5Gui_LIBRARIES Qt5::Gui)
                
                macro(_qt5_Gui_check_file_exists file)
                    if(NOT EXISTS "${file}" )
                        message(FATAL_ERROR "The imported target \"Qt5::Gui\" references the file
                   \"${file}\"
                but this file does not exist.  Possible reasons include:
                * The file was deleted, renamed, or moved to another location.
                * An install or uninstall procedure did not complete successfully.
                * The installation package was faulty and contained
                   \"${CMAKE_CURRENT_LIST_FILE}\"
                but not all the files it references.
                ")
                    endif()
                endmacro()
                
                macro(_populate_Gui_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
                    set_property(TARGET Qt5::Gui APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
                
                    set(imported_location "${_qt5Gui_install_prefix}/lib/${LIB_LOCATION}")
                    _qt5_Gui_check_file_exists(${imported_location})
                    set_target_properties(Qt5::Gui PROPERTIES
                        "INTERFACE_LINK_LIBRARIES" "${_Qt5Gui_LIB_DEPENDENCIES}"
                        "IMPORTED_LOCATION_${Configuration}" ${imported_location}
                        "IMPORTED_SONAME_${Configuration}" "libQt5Gui.so.5"
                        # For backward compatibility with CMake < 2.8.12
                        "IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Gui_LIB_DEPENDENCIES}"
                    )
                
                endmacro()
                
                if (NOT TARGET Qt5::Gui)
                
                    set(_Qt5Gui_OWN_INCLUDE_DIRS "${_qt5Gui_install_prefix}/include/" "${_qt5Gui_install_prefix}/include/QtGui")
                    set(Qt5Gui_PRIVATE_INCLUDE_DIRS
                        "${_qt5Gui_install_prefix}/include/QtGui/5.9.6"
                        "${_qt5Gui_install_prefix}/include/QtGui/5.9.6/QtGui"
                    )
                
                    foreach(_dir ${_Qt5Gui_OWN_INCLUDE_DIRS})
                        _qt5_Gui_check_file_exists(${_dir})
                    endforeach()
                
                    # Only check existence of private includes if the Private component is
                    # specified.
                    list(FIND Qt5Gui_FIND_COMPONENTS Private _check_private)
                    if (NOT _check_private STREQUAL -1)
                        foreach(_dir ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
                            _qt5_Gui_check_file_exists(${_dir})
                        endforeach()
                    endif()
                
                    set(Qt5Gui_INCLUDE_DIRS ${_Qt5Gui_OWN_INCLUDE_DIRS})
                
                    set(Qt5Gui_DEFINITIONS -DQT_GUI_LIB)
                    set(Qt5Gui_COMPILE_DEFINITIONS QT_GUI_LIB)
                    set(_Qt5Gui_MODULE_DEPENDENCIES "Core")
                
                
                    set(Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
                
                    set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED)
                    if (Qt5Gui_FIND_REQUIRED)
                        set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED REQUIRED)
                    endif()
                    set(_Qt5Gui_FIND_DEPENDENCIES_QUIET)
                    if (Qt5Gui_FIND_QUIETLY)
                        set(_Qt5Gui_DEPENDENCIES_FIND_QUIET QUIET)
                    endif()
                    set(_Qt5Gui_FIND_VERSION_EXACT)
                    if (Qt5Gui_FIND_VERSION_EXACT)
                        set(_Qt5Gui_FIND_VERSION_EXACT EXACT)
                    endif()
                
                    set(Qt5Gui_EXECUTABLE_COMPILE_FLAGS "")
                
                    foreach(_module_dep ${_Qt5Gui_MODULE_DEPENDENCIES})
                        if (NOT Qt5${_module_dep}_FOUND)
                            find_package(Qt5${_module_dep}
                                5.9.6 ${_Qt5Gui_FIND_VERSION_EXACT}
                                ${_Qt5Gui_DEPENDENCIES_FIND_QUIET}
                                ${_Qt5Gui_FIND_DEPENDENCIES_REQUIRED}
                                PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
                            )
                        endif()
                
                        if (NOT Qt5${_module_dep}_FOUND)
                            set(Qt5Gui_FOUND False)
                            return()
                        endif()
                
                        list(APPEND Qt5Gui_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
                        list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
                        list(APPEND Qt5Gui_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
                        list(APPEND Qt5Gui_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
                        list(APPEND Qt5Gui_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
                    endforeach()
                    list(REMOVE_DUPLICATES Qt5Gui_INCLUDE_DIRS)
                    list(REMOVE_DUPLICATES Qt5Gui_PRIVATE_INCLUDE_DIRS)
                    list(REMOVE_DUPLICATES Qt5Gui_DEFINITIONS)
                    list(REMOVE_DUPLICATES Qt5Gui_COMPILE_DEFINITIONS)
                    list(REMOVE_DUPLICATES Qt5Gui_EXECUTABLE_COMPILE_FLAGS)
                
                    set(_Qt5Gui_LIB_DEPENDENCIES "Qt5::Core")
                
                
                    add_library(Qt5::Gui SHARED IMPORTED)
                
                    set_property(TARGET Qt5::Gui PROPERTY
                      INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Gui_OWN_INCLUDE_DIRS})
                    set_property(TARGET Qt5::Gui PROPERTY
                      INTERFACE_COMPILE_DEFINITIONS QT_GUI_LIB)
                
                    set(_Qt5Gui_PRIVATE_DIRS_EXIST TRUE)
                    foreach (_Qt5Gui_PRIVATE_DIR ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS})
                        if (NOT EXISTS ${_Qt5Gui_PRIVATE_DIR})
                            set(_Qt5Gui_PRIVATE_DIRS_EXIST FALSE)
                        endif()
                    endforeach()
                
                    if (_Qt5Gui_PRIVATE_DIRS_EXIST
                        AND NOT CMAKE_VERSION VERSION_LESS 3.0.0 )
                        add_library(Qt5::GuiPrivate INTERFACE IMPORTED)
                        set_property(TARGET Qt5::GuiPrivate PROPERTY
                            INTERFACE_INCLUDE_DIRECTORIES ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS}
                        )
                        set(_Qt5Gui_PRIVATEDEPS)
                        foreach(dep ${_Qt5Gui_LIB_DEPENDENCIES})
                            if (TARGET ${dep}Private)
                                list(APPEND _Qt5Gui_PRIVATEDEPS ${dep}Private)
                            endif()
                        endforeach()
                        set_property(TARGET Qt5::GuiPrivate PROPERTY
                            INTERFACE_LINK_LIBRARIES Qt5::Gui ${_Qt5Gui_PRIVATEDEPS}
                        )
                    endif()
                
                    _populate_Gui_target_properties(RELEASE "libQt5Gui.so.5.9.6" "" )
                
                
                
                
                    file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Gui_*Plugin.cmake")
                
                    macro(_populate_Gui_plugin_properties Plugin Configuration PLUGIN_LOCATION)
                        set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
                
                        set(imported_location "${_qt5Gui_install_prefix}/plugins/${PLUGIN_LOCATION}")
                        _qt5_Gui_check_file_exists(${imported_location})
                        set_target_properties(Qt5::${Plugin} PROPERTIES
                            "IMPORTED_LOCATION_${Configuration}" ${imported_location}
                        )
                    endmacro()
                
                    if (pluginTargets)
                        foreach(pluginTarget ${pluginTargets})
                            include(${pluginTarget})
                        endforeach()
                    endif()
                
                
                    include("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigExtras.cmake")
                
                
                _qt5_Gui_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigVersion.cmake")
                
                endif()
                
                K Offline
                K Offline
                Konstantin Tokarev
                wrote on last edited by
                #6

                @RaymondH Could you upload CMakeOutput.log and CMakeError.log?

                K 1 Reply Last reply
                0
                • K Konstantin Tokarev

                  @RaymondH Could you upload CMakeOutput.log and CMakeError.log?

                  K Offline
                  K Offline
                  Konstantin Tokarev
                  wrote on last edited by
                  #7

                  And CMakeCache.txt

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    RaymondH
                    wrote on last edited by
                    #8

                    Sorry, but apparently I don't have permission to attach files, so I just listed it here.

                    Here is CMakeOutput.log (Part 1):

                    The system is: Linux - 2.6.32-696.el6.x86_64 - x86_64
                    Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
                    Compiler: /opt/anss/bin/cc 
                    Build flags: 
                    Id flags: 
                    
                    The output was:
                    0
                    
                    
                    Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
                    
                    The C compiler identification is GNU, found in "/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/2.8.12.2/CompilerIdC/a.out"
                    
                    Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
                    Compiler: /opt/anss/bin/c++ 
                    Build flags: 
                    Id flags: 
                    
                    The output was:
                    0
                    
                    
                    Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
                    
                    The CXX compiler identification is GNU, found in "/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/2.8.12.2/CompilerIdCXX/a.out"
                    
                    Determining if the C compiler works passed with the following output:
                    Change Dir: /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp
                    
                    Run Build Command:/usr/bin/gmake "cmTryCompileExec2362532096/fast"
                    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2362532096.dir/build.make CMakeFiles/cmTryCompileExec2362532096.dir/build
                    gmake[1]: Entering directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp'
                    /usr/bin/cmake -E cmake_progress_report /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp/CMakeFiles 1
                    Building C object CMakeFiles/cmTryCompileExec2362532096.dir/testCCompiler.c.o
                    /opt/anss/bin/cc    -o CMakeFiles/cmTryCompileExec2362532096.dir/testCCompiler.c.o   -c /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp/testCCompiler.c
                    Linking C executable cmTryCompileExec2362532096
                    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2362532096.dir/link.txt --verbose=1
                    /opt/anss/bin/cc       CMakeFiles/cmTryCompileExec2362532096.dir/testCCompiler.c.o  -o cmTryCompileExec2362532096 -rdynamic 
                    gmake[1]: Leaving directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp'
                    
                    
                    Detecting C compiler ABI info compiled with the following output:
                    Change Dir: /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp
                    
                    Run Build Command:/usr/bin/gmake "cmTryCompileExec1009398238/fast"
                    /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1009398238.dir/build.make CMakeFiles/cmTryCompileExec1009398238.dir/build
                    gmake[1]: Entering directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp'
                    /usr/bin/cmake -E cmake_progress_report /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp/CMakeFiles 1
                    Building C object CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o
                    /opt/anss/bin/cc    -o CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake/Modules/CMakeCCompilerABI.c
                    Linking C executable cmTryCompileExec1009398238
                    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1009398238.dir/link.txt --verbose=1
                    /opt/anss/bin/cc     -v CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1009398238 -rdynamic  
                    Reading specs from /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/specs
                    COLLECT_GCC=/opt/anss/bin/cc
                    COLLECT_LTO_WRAPPER=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper
                    Target: x86_64-pc-linux-gnu
                    Configured with: ./configure --with-pkgversion=ansys-20170413 --with-bugurl=mailto:EBU-DevServices@ansys.com --prefix=/tmp/toolchain --with-gnu-ld --with-gnu-as --disable-nls --enable-languages=c,c++,fortran --with-gmp=/tmp/toolchain --with-mpfr=/tmp/toolchain --with-mpc=/tmp/toolchain --with-cloog=/tmp/toolchain --with-libelf=/tmp/toolchain --with-libiconv-prefix=/tmp/toolchain --with-host-libstdcxx='-L/opt/anss/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../../../lib64 -lstdc++ -lm' --with-arch-32=i586 --with-cpu=generic --with-tune=generic --with-pic --enable-checking=release --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --disable-nls --enable-threads
                    Thread model: posix
                    gcc version 6.3.0 (ansys-20170413) 
                    COMPILER_PATH=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/:/opt/anss/bin/../libexec/gcc/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/
                    LIBRARY_PATH=/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/:/opt/anss/bin/../lib/gcc/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../:/lib/:/usr/lib/
                    COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1009398238' '-rdynamic' '-mtune=generic' '-march=x86-64'
                     /opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/collect2 -plugin /opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/liblto_plugin.so -plugin-opt=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccUgNiHy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -rpath $ORIGIN -rpath $ORIGIN:$ORIGIN/../lib64:$ORIGIN/../../lib64:/opt/anss/lib64 -o cmTryCompileExec1009398238 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtbegin.o -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0 -L/opt/anss/bin/../lib/gcc -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../.. CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtend.o /usr/lib/../lib64/crtn.o
                    COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1009398238' '-rdynamic' '-mtune=generic' '-march=x86-64'
                    gmake[1]: Leaving directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp'
                    
                    
                    Parsed C implicit link information from above output:
                      link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
                      ignore line: [Change Dir: /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp]
                      ignore line: []
                      ignore line: [Run Build Command:/usr/bin/gmake "cmTryCompileExec1009398238/fast"]
                      ignore line: [/usr/bin/gmake -f CMakeFiles/cmTryCompileExec1009398238.dir/build.make CMakeFiles/cmTryCompileExec1009398238.dir/build]
                      ignore line: [gmake[1]: Entering directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp']
                      ignore line: [/usr/bin/cmake -E cmake_progress_report /home/staff/rmhoffma/Qt/QtBuilds/qtwebkit/WebKitBuild/Release/CMakeFiles/CMakeTmp/CMakeFiles 1]
                      ignore line: [Building C object CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o]
                      ignore line: [/opt/anss/bin/cc    -o CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake/Modules/CMakeCCompilerABI.c]
                      ignore line: [Linking C executable cmTryCompileExec1009398238]
                      ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1009398238.dir/link.txt --verbose=1]
                      ignore line: [/opt/anss/bin/cc     -v CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1009398238 -rdynamic  ]
                      ignore line: [Reading specs from /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/specs]
                      ignore line: [COLLECT_GCC=/opt/anss/bin/cc]
                      ignore line: [COLLECT_LTO_WRAPPER=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper]
                      ignore line: [Target: x86_64-pc-linux-gnu]
                      ignore line: [Configured with: ./configure --with-pkgversion=ansys-20170413 --with-bugurl=mailto:EBU-DevServices@ansys.com --prefix=/tmp/toolchain --with-gnu-ld --with-gnu-as --disable-nls --enable-languages=c,c++,fortran --with-gmp=/tmp/toolchain --with-mpfr=/tmp/toolchain --with-mpc=/tmp/toolchain --with-cloog=/tmp/toolchain --with-libelf=/tmp/toolchain --with-libiconv-prefix=/tmp/toolchain --with-host-libstdcxx='-L/opt/anss/lib/gcc/x86_64-unknown-linux-gnu/4.8.3/../../../../lib64 -lstdc++ -lm' --with-arch-32=i586 --with-cpu=generic --with-tune=generic --with-pic --enable-checking=release --enable-shared --enable-symvers=gnu --enable-__cxa_atexit --disable-nls --enable-threads]
                      ignore line: [Thread model: posix]
                      ignore line: [gcc version 6.3.0 (ansys-20170413) ]
                      ignore line: [COMPILER_PATH=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/:/opt/anss/bin/../libexec/gcc/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/bin/]
                      ignore line: [LIBRARY_PATH=/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/:/opt/anss/bin/../lib/gcc/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib/:/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../:/lib/:/usr/lib/]
                      ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1009398238' '-rdynamic' '-mtune=generic' '-march=x86-64']
                      link line: [ /opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/collect2 -plugin /opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/liblto_plugin.so -plugin-opt=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccUgNiHy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -rpath $ORIGIN -rpath $ORIGIN:$ORIGIN/../lib64:$ORIGIN/../../lib64:/opt/anss/lib64 -o cmTryCompileExec1009398238 /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtbegin.o -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0 -L/opt/anss/bin/../lib/gcc -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib -L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../.. CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtend.o /usr/lib/../lib64/crtn.o]
                        arg [/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/collect2] ==> ignore
                        arg [-plugin] ==> ignore
                        arg [/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/liblto_plugin.so] ==> ignore
                        arg [-plugin-opt=/opt/anss/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper] ==> ignore
                        arg [-plugin-opt=-fresolution=/tmp/ccUgNiHy.res] ==> ignore
                        arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
                        arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
                        arg [-plugin-opt=-pass-through=-lc] ==> ignore
                        arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
                        arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
                        arg [--eh-frame-hdr] ==> ignore
                        arg [-m] ==> ignore
                        arg [elf_x86_64] ==> ignore
                        arg [-export-dynamic] ==> ignore
                        arg [-dynamic-linker] ==> ignore
                        arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
                        arg [-rpath] ==> ignore
                        arg [$ORIGIN] ==> ignore
                        arg [-rpath] ==> ignore
                        arg [$ORIGIN:$ORIGIN/../lib64:$ORIGIN/../../lib64:/opt/anss/lib64] ==> ignore
                        arg [-o] ==> ignore
                        arg [cmTryCompileExec1009398238] ==> ignore
                        arg [/usr/lib/../lib64/crt1.o] ==> ignore
                        arg [/usr/lib/../lib64/crti.o] ==> ignore
                        arg [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtbegin.o] ==> ignore
                        arg [-L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0] ==> dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0]
                        arg [-L/opt/anss/bin/../lib/gcc] ==> dir [/opt/anss/bin/../lib/gcc]
                        arg [-L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64] ==> dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64]
                        arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
                        arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
                        arg [-L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib] ==> dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib]
                        arg [-L/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../..] ==> dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../..]
                        arg [CMakeFiles/cmTryCompileExec1009398238.dir/CMakeCCompilerABI.c.o] ==> ignore
                        arg [-lgcc] ==> lib [gcc]
                        arg [--as-needed] ==> ignore
                        arg [-lgcc_s] ==> lib [gcc_s]
                        arg [--no-as-needed] ==> ignore
                        arg [-lc] ==> lib [c]
                        arg [-lgcc] ==> lib [gcc]
                        arg [--as-needed] ==> ignore
                        arg [-lgcc_s] ==> lib [gcc_s]
                        arg [--no-as-needed] ==> ignore
                        arg [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/crtend.o] ==> ignore
                        arg [/usr/lib/../lib64/crtn.o] ==> ignore
                      remove lib [gcc]
                      remove lib [gcc_s]
                      remove lib [gcc]
                      remove lib [gcc_s]
                      collapse library dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0] ==> [/opt/anss/lib/gcc/x86_64-pc-linux-gnu/6.3.0]
                      collapse library dir [/opt/anss/bin/../lib/gcc] ==> [/opt/anss/lib/gcc]
                      collapse library dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../lib64] ==> [/opt/anss/lib64]
                      collapse library dir [/lib/../lib64] ==> [/lib64]
                      collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
                      collapse library dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../../../x86_64-pc-linux-gnu/lib] ==> [/opt/anss/x86_64-pc-linux-gnu/lib]
                      collapse library dir [/opt/anss/bin/../lib/gcc/x86_64-pc-linux-gnu/6.3.0/../../..] ==> [/opt/anss/lib]
                      implicit libs: [c]
                      implicit dirs: [/opt/anss/lib/gcc/x86_64-pc-linux-gnu/6.3.0;/opt/anss/lib/gcc;/opt/anss/lib64;/lib64;/usr/lib64;/opt/anss/x86_64-pc-linux-gnu/lib;/opt/anss/lib]
                      implicit fwks: []
                    
                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      Konstantin Tokarev
                      wrote on last edited by
                      #9

                      You can use any pastebin service

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        RaymondH
                        wrote on last edited by
                        #10

                        Apparently I don't have enough of a reputation, and had to wait 10 minutes before posting again...

                        You can find the 3 files at this pastebin: https://pastebin.com/Lr1XEq1c

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          Konstantin Tokarev
                          wrote on last edited by
                          #11
                          /opt/anss/bin/c++    -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++11 -DQt5Gui_PRIVATE_HEADER_FOUND    CMakeFiles/cmTryCompileExec3077754407.dir/src.cxx.o  -o cmTryCompileExec3077754407 -rdynamic /home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib/libQt5Gui.so.5.9.6 /home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib/libQt5Core.so.5.9.6 -Wl,-rpath,/home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib
                              /home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib/libQt5Gui.so.5.9.6: undefined reference to `memcpy@GLIBC_2.14'
                              /home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib/libQt5Core.so.5.9.6: undefined reference to `clock_gettime@GLIBC_2.17'
                              /home/staff/rmhoffma/Qt/qt-5.9.6-linx64-gcc630/lib/libQt5Gui.so.5.9.6: undefined reference to `inflateReset2@ZLIB_1.2.3.4'
                              collect2: error: ld returned 1 exit status
                          

                          Looks like a problem with your compiler and/or Qt

                          1 Reply Last reply
                          0
                          • K Offline
                            K Offline
                            Konstantin Tokarev
                            wrote on last edited by
                            #12

                            As for error reporting: yes, it's highly misleading, but unfortunately cmake doesn't allow making compilation tests without linking (and this test should check just that #include doesn't fail

                            1 Reply Last reply
                            0
                            • R Offline
                              R Offline
                              RaymondH
                              wrote on last edited by
                              #13

                              Ok, thanks. I will investigate.

                              Thanks so much for taking the time to help.

                              1 Reply Last reply
                              0
                              • K Offline
                                K Offline
                                Konstantin Tokarev
                                wrote on last edited by
                                #14

                                By chance, are you using custom mkspec when building Qt? Assuming that Qt is built with the same compiler

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  RaymondH
                                  wrote on last edited by
                                  #15

                                  I have resolved the issue with the undefined references to the three libraries as indicated above.

                                  However, though that was fixed, I now do indeed have an issue with the private headers not found, as shown below.

                                  I shouldn't need to explicitly add the private header directories to my INCLUDE environment variables, should I? There would potentially be many of them. I'd expect them to be found automatically in some way... How is this done?

                                  From the CMakeError.log file:

                                  /opt/anss/bin/g++   -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++11 -DQt5Gui_PRIVATE_HEADER_FOUND -I/home/staff/rmhoffma/Qt/QtBuildBin/include -I/home/staff/rmhoffma/Qt/QtBuildBin/include/QtGui -I/home/staff/rmhoffma/Qt/QtBuildBin/include/QtCore -I/home/staff/rmhoffma/Qt/QtBuildBin/./mkspecs/linux-g++    -fPIC -o CMakeFiles/cmTryCompileExec1880278613.dir/src.cxx.o -c /home/staff/rmhoffma/Qt/QtBuilds/qtwebkitBuild/release/CMakeFiles/CMakeTmp/src.cxx
                                  /home/staff/rmhoffma/Qt/QtBuilds/qtwebkitBuild/release/CMakeFiles/CMakeTmp/src.cxx:2:42: fatal error: private/qhexstring_p.h: No such file or directory
                                           #include <private/qhexstring_p.h>
                                                                            ^
                                  compilation terminated.
                                  gmake[2]: *** [CMakeFiles/cmTryCompileExec1880278613.dir/src.cxx.o] Error 1
                                  gmake[2]: Leaving directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkitBuild/release/CMakeFiles/CMakeTmp'
                                  gmake[1]: *** [cmTryCompileExec1880278613/fast] Error 2
                                  gmake[1]: Leaving directory `/home/staff/rmhoffma/Qt/QtBuilds/qtwebkitBuild/release/CMakeFiles/CMakeTmp'
                                  
                                  Source file was:
                                  
                                          #include <private/qhexstring_p.h>
                                          int main() { return 0; }
                                  

                                  Thanks for any assistance...

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    Konstantin Tokarev
                                    wrote on last edited by
                                    #16

                                    CMake caches results of compilation tests in build directory (in CMakeCache.txt file), so I guess that you've fixed issue with unresolved libraries successfully but didn't clear cache after that

                                    1 Reply Last reply
                                    0
                                    • R Offline
                                      R Offline
                                      RaymondH
                                      wrote on last edited by
                                      #17

                                      I delete everything from my build directory before running make, including any CMakeCache.txt file. Unless there is another location that files are stored on building, I believe I'm starting with a clean slate.

                                      1 Reply Last reply
                                      0
                                      • K Offline
                                        K Offline
                                        Konstantin Tokarev
                                        wrote on last edited by
                                        #18

                                        @RaymondH said in Performing Test Qt5Gui_PRIVATE_HEADER_FOUND - Failed:

                                        -DQt5Gui_PRIVATE_HEADER_FOUND

                                        What is in CMakeError.log if you don't add -DQt5Gui_PRIVATE_HEADER_FOUND?

                                        1 Reply Last reply
                                        0
                                        • R Offline
                                          R Offline
                                          RaymondH
                                          wrote on last edited by RaymondH
                                          #19

                                          This is an automated script - i.e. it's configuring things using the OptionsQt.cmake file. I am not adding any parameters manually. How do I remove parameters that I didn't add and are added atomatically?

                                          1 Reply Last reply
                                          0
                                          • R Offline
                                            R Offline
                                            RaymondH
                                            wrote on last edited by RaymondH
                                            #20
                                            This post is deleted!
                                            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