PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 58 - Missing links to QtGui
: Missing links to QtGui
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: Macintosh Mac OS
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-09-10 17:52 EEST by Brendan Duncan
Modified: 2009-10-14 14:19 EEST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Duncan 2009-09-10 17:52:35 EEST
Some modules are not linking to QtGui when they should be.

PySide/QtOpenGL/CMakeLists.txt
Add ${QT_QTGUI_LIBRARY} to target_link_libraries.
target_link_libraries(QtOpenGL
                      ${Boost_PYTHON_LIBRARY}
                      ${PYTHON_LIBRARIES}
                      ${QT_QTCORE_LIBRARY}
                      ${QT_QTGUI_LIBRARY}
                      ${QT_QTOPENGL_LIBRARY}
                      pysidebase)

PySide/QtHelp/CMakeLists.txt
Add ${QT_QTGUI_LIBRARY} to target_link_libraries.
target_link_libraries(QtHelp
                      ${Boost_PYTHON_LIBRARY}
                      ${PYTHON_LIBRARIES}
                      ${QT_QTCORE_LIBRARY}
                      ${QT_QTGUI_LIBRARY}
                      ${QT_QTHELP_LIBRARY}
                      pysidebase)

PySide/QtScriptTools/CMakeLists.txt
Add ${QT_QTGUI_LIBRARY} and ${QT_QTSCRIPT_LIBRARY} to target_link_libraries.
target_link_libraries(QtScriptTools
                      ${Boost_PYTHON_LIBRARY}
                      ${PYTHON_LIBRARIES}
                      ${QT_QTCORE_LIBRARY}
                      ${QT_QTGUI_LIBRARY}
                      ${QT_QTSCRIPT_LIBRARY}
                      ${QT_QTSCRIPTTOOLS_LIBRARY}
                      pysidebase)
Comment 1 renato filho 2009-09-10 19:49:27 EEST
Fixed on commit: 7f819a87f9d54a5acf3773fd88789eebd8824739