1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Rename to make more appropriate.

This commit is contained in:
Shlomi Fish 2019-04-28 23:06:49 +03:00
parent c7ad9be8ab
commit 0ba65a1050
3 changed files with 5 additions and 7 deletions

View file

@ -37,16 +37,14 @@ get_filename_component(QtCore_libdir ${QtCore_location} DIRECTORY)
set(CMAKE_AUTOMOC ON)
project(Shiboken2-Qt-Example)
set(CMAKE_CXX_STANDARD 11)
set(sample_library "libexamplebinding")
set(bindings_library "Shiboken2QtExample")
set(bindings_library "PySolFC_KCard")
set(sample_library "lib_${bindings_library}_binding")
set(wrapped_header ${CMAKE_SOURCE_DIR}/bindings.h)
set(typesystem_file ${CMAKE_SOURCE_DIR}/bindings.xml)
set(generated_sources
${CMAKE_CURRENT_BINARY_DIR}/${bindings_library}/mykcarddeck_wrapper.cpp
${CMAKE_CURRENT_BINARY_DIR}/${bindings_library}/shiboken2qtexample_module_wrapper.cpp)
${CMAKE_CURRENT_BINARY_DIR}/${bindings_library}/pysolfc_kcard_module_wrapper.cpp)
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<typesystem package="Shiboken2QtExample">
<typesystem package="PySolFC_KCard">
<load-typesystem name="typesystem_core.xml" generate="no"/>
<load-typesystem name="typesystem_gui.xml" generate="no"/>
<object-type name="MyKCardDeck">

View file

@ -7,7 +7,7 @@
try:
from PySide2.QtGui import QPixmap # noqa: F401
from Shiboken2QtExample import MyKCardDeck
from PySolFC_KCard import MyKCardDeck
except BaseException:
def MyKCardDeck():
return None