Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-Subdivider
Commits
7fc4ca96
Commit
7fc4ca96
authored
Apr 16, 2018
by
Jan Möbius
Browse files
Removed check for Qt less than 5
parent
029efbb5
Changes
3
Hide whitespace changes
Inline
Side-by-side
SubdividerPlugin.cc
View file @
7fc4ca96
...
...
@@ -58,10 +58,6 @@
#include
<OpenMesh/Tools/Subdivider/Uniform/CatmullClarkT.hh>
#if QT_VERSION >= 0x050000
#else
#include
<QtGui>
#endif
SubdividerPlugin
::
SubdividerPlugin
()
:
...
...
@@ -316,8 +312,5 @@ bool SubdividerPlugin::test_trimesh_object(int _identifier, BaseObjectData*& _ob
return
true
;
}
#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2
(
subdividerplugin
,
SubdividerPlugin
);
#endif
SubdividerPlugin.hh
View file @
7fc4ca96
...
...
@@ -77,9 +77,7 @@ class SubdividerPlugin : public QObject, BaseInterface , ToolboxInterface, Loggi
Q_INTERFACES
(
ScriptInterface
)
Q_INTERFACES
(
BackupInterface
)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA
(
IID
"org.OpenFlipper.Plugins.Plugin-Subdivider"
)
#endif
signals:
void
updateView
();
...
...
subdividerToolbar.hh
View file @
7fc4ca96
...
...
@@ -49,11 +49,7 @@
#include
"ui_subdividerControls.hh"
#if QT_VERSION >= 0x050000
#include
<QtWidgets>
#else
#include
<QtGui>
#endif
class
subdividerToolbarWidget
:
public
QWidget
,
public
Ui
::
SubdividerControls
...
...
Write
Preview
Supports
Markdown
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