File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -78,14 +78,14 @@ if(NOT DEFINED PythonQt_INSTALL_INCLUDE_DIR)
78
78
set (PythonQt_INSTALL_INCLUDE_DIR include /PythonQt )
79
79
endif ()
80
80
81
- set (qt5_wrapped_lib_depends_gui Multimedia )
82
-
83
81
#-----------------------------------------------------------------------------
84
82
# Set qtlib_to_wraplib_* variables
85
83
86
84
set (qtlib_to_wraplib_Widgets gui )
87
85
set (qtlib_to_wraplib_WebKitWidgets webkit )
88
86
87
+ set (qt5_wrapped_lib_depends_gui Multimedia )
88
+
89
89
foreach (qtlib ${qtlibs} )
90
90
string (TOLOWER ${qtlib} qtlib_lowercase )
91
91
if (DEFINED qtlib_to_wraplib_${qtlib} )
@@ -262,13 +262,15 @@ set(moc_sources
262
262
#-----------------------------------------------------------------------------
263
263
# Add extra sources
264
264
265
- foreach (qtlib ${qt_wrapped_libs} )
265
+ foreach (qtlib ${qtlibs} )
266
+
267
+ set (qt_wrapped_lib ${qtlib_to_wraplib_${qtlib}} )
266
268
267
- if (${PythonQt_Wrap_Qt${qtlib }} )
269
+ if (${PythonQt_Wrap_Qt${qt_wrapped_lib }} )
268
270
269
- ADD_DEFINITIONS (-DPYTHONQT_WRAP_Qt${qtlib } )
271
+ ADD_DEFINITIONS (-DPYTHONQT_WRAP_Qt${qt_wrapped_lib } )
270
272
271
- set (file_prefix generated_cpp${generated_cpp_suffix}/com_trolltech_qt_${qtlib }/com_trolltech_qt_${qtlib } )
273
+ set (file_prefix generated_cpp${generated_cpp_suffix}/com_trolltech_qt_${qt_wrapped_lib }/com_trolltech_qt_${qt_wrapped_lib } )
272
274
273
275
foreach (index RANGE 0 12 )
274
276
You can’t perform that action at this time.
0 commit comments