Fixed: Compilation with Qt 5 and STLport (std::move doesn't exist)

This commit is contained in:
kervala 2016-01-16 15:52:51 +01:00
parent bdcfa10c66
commit 9ba7bcf720
3 changed files with 18 additions and 0 deletions

View file

@ -21,6 +21,12 @@
// STL includes // STL includes
// Qt includes // Qt includes
#include <qglobal.h>
#ifdef Q_COMPILER_RVALUE_REFS
#undef Q_COMPILER_RVALUE_REFS
#endif
#include <QMainWindow> #include <QMainWindow>
// NeL includes // NeL includes

View file

@ -21,6 +21,12 @@
// STL includes // STL includes
// Qt includes // Qt includes
#include <qglobal.h>
#ifdef Q_COMPILER_RVALUE_REFS
#undef Q_COMPILER_RVALUE_REFS
#endif
#include <QWidget> #include <QWidget>
#include <QTextEdit> #include <QTextEdit>
#include <QLineEdit> #include <QLineEdit>

View file

@ -34,6 +34,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// STL includes // STL includes
// Qt includes // Qt includes
#include <qglobal.h>
#ifdef Q_COMPILER_RVALUE_REFS
#undef Q_COMPILER_RVALUE_REFS
#endif
#include <QWidget> #include <QWidget>
#include <QTextEdit> #include <QTextEdit>
#include <QLineEdit> #include <QLineEdit>