mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-02 12:53:49 +01:00
Dont link rcc_backend against qtgui
This commit is contained in:
parent
237b375a8c
commit
da2f64167a
2 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ def __init__(self, name, sources, **kwargs):
|
|||
self.headers = d['headers'] = absolutize(kwargs.get('headers', []))
|
||||
self.sip_files = d['sip_files'] = absolutize(kwargs.get('sip_files', []))
|
||||
self.needs_exceptions = d['needs_exceptions'] = kwargs.get('needs_exceptions', False)
|
||||
self.qt_project_type = d['qt_project_type'] = kwargs.get('qt_project_type', "widgets")
|
||||
self.qt_modules = d['qt_modules'] = kwargs.get('qt_modules', ["widgets"])
|
||||
self.inc_dirs = d['inc_dirs'] = absolutize(kwargs.get('inc_dirs', []))
|
||||
self.lib_dirs = d['lib_dirs'] = absolutize(kwargs.get('lib_dirs', []))
|
||||
self.extra_objs = d['extra_objs'] = absolutize(kwargs.get('extra_objs', []))
|
||||
|
|
@ -530,7 +530,7 @@ def create_sip_build_skeleton(self, src_dir, ext):
|
|||
sources = {ext.sources}
|
||||
exceptions = {needs_exceptions}
|
||||
include-dirs = {ext.inc_dirs}
|
||||
qmake-QT = ["{ext.qt_project_type}"]
|
||||
qmake-QT = {ext.qt_modules}
|
||||
sip-file = "{os.path.basename(sipf)}"
|
||||
''')
|
||||
shutil.copy2(sipf, src_dir)
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@
|
|||
"headers": "calibre/gui2/rcc/rcc.h",
|
||||
"sip_files": "calibre/gui2/rcc/rcc.sip",
|
||||
"inc_dirs": "calibre/gui2/rcc",
|
||||
"qt_project_type": "core"
|
||||
"qt_modules": ["-gui"]
|
||||
},
|
||||
{
|
||||
"name": "pictureflow",
|
||||
|
|
|
|||
Loading…
Reference in a new issue