Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-523

failing building pyside with "--build-tests" option

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.9
    • None
    • PySide
    • None
    • afaaaea6d

    Description

      The build fails with

      /usr/bin/ld: cannot find -lQt5::Gui

      because the cmake variable ${Qt5Gui_LIBRARIES} is not set.

       

      Here is a potentially fix:

      
      --- a/sources/pyside2/tests/pysidetest/CMakeLists.txt
      +++ b/sources/pyside2/tests/pysidetest/CMakeLists.txt
      @@ -10,6 +10,7 @@ add_definitions(-DQT_SHARED)
       add_definitions(-DRXX_ALLOCATOR_INIT_0)
       
       find_package(Qt5Widgets)
      +find_package(Qt5Gui)
       
       set(pysidetest_SRC
       testobject.cpp
      

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            dom Dominique
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes