Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenFlipper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
cf1aa8e0
Commit
cf1aa8e0
authored
Jul 15, 2020
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build without Python.
parent
4a4c984c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
CoreApp/CMakeLists.txt
CoreApp/CMakeLists.txt
+6
-7
widgets/coreWidget/CoreWidget.hh
widgets/coreWidget/CoreWidget.hh
+3
-1
No files found.
CoreApp/CMakeLists.txt
View file @
cf1aa8e0
...
...
@@ -79,11 +79,8 @@ set (headers
../widgets/rendererWidget/renderObjectHighLighter.hh
../widgets/rendererWidget/rendererObjectWidget.hh
../widgets/rendererWidget/rendererWidget.hh
../widgets/pythonWidget/PythonSyntaxHighlighter.hh
../widgets/pythonWidget/pythonWidget.hh
../Windows/windows-startup.hh
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
)
set
(
sources
...
...
@@ -132,7 +129,6 @@ set( sources
../widgets/coreWidget/Help.cc
../widgets/coreWidget/LoggerHandling.cc
../widgets/coreWidget/MenuBar.cc
../widgets/coreWidget/Python.cc
../widgets/coreWidget/SideArea.cc
../widgets/coreWidget/SideElement.cc
../widgets/coreWidget/StackWidget.cc
...
...
@@ -161,8 +157,6 @@ set( sources
../widgets/snapshotDialog/SnapshotDialog.cc
../widgets/stereoSettingsWidget/stereoSettingsWidget.cc
../widgets/postProcessorWidget/postProcessorWidget.cc
../widgets/pythonWidget/PythonSyntaxHighlighter.cc
../widgets/pythonWidget/pythonWidget.cc
../widgets/rendererWidget/TextBrowserWidget.cc
../widgets/rendererWidget/renderObjectHighLighter.cc
../widgets/rendererWidget/rendererObjectWidget.cc
...
...
@@ -185,10 +179,15 @@ if ( PYTHON3_FOUND)
list
(
APPEND headers
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
../widgets/pythonWidget/PythonSyntaxHighlighter.hh
../widgets/pythonWidget/pythonWidget.hh
)
list
(
APPEND sources
../PythonInterpreter/PythonInterpreter.cc
../widgets/pythonWidget/PythonSyntaxHighlighter.cc
../widgets/pythonWidget/pythonWidget.cc
../widgets/coreWidget/Python.cc
)
link_directories
(
${
Python3_LIBRARY_DIRS
}
)
...
...
widgets/coreWidget/CoreWidget.hh
View file @
cf1aa8e0
...
...
@@ -1233,8 +1233,9 @@ public:
//===========================================================================
public
slots
:
#ifdef PYTHON_ENABLED
void
showPythonScriptInterpreter
();
#endif
private:
/// Pointer to the about widget
...
...
@@ -1248,6 +1249,7 @@ public:
//===========================================================================
private
slots
:
/// Called by Plugins to add a Toolbar
void
slotAddToolbar
(
QToolBar
*
_toolbar
);
/// Called by Plugins to remove a Toolbar
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment