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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: dev
    • Fix Version/s: 5.9
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      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

            Assignee:
            ctismer Christian Tismer
            Reporter:
            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