File tree 4 files changed +11
-6
lines changed
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# -*- mode: cmake -*-
2
- # CMake/common https://github.com/Eyescale/CMake.git 9a0223f
2
+ # CMake/common https://github.com/Eyescale/CMake.git c351af3
Original file line number Diff line number Diff line change 45
45
# define final
46
46
# define override
47
47
# endif
48
+ # ifndef CXX_NOEXCEPT_SUPPORTED
49
+ # define noexcept
50
+ # endif
48
51
#endif
49
52
50
53
#endif
Original file line number Diff line number Diff line change 40
40
#ifndef QMLSTREAMER_H
41
41
#define QMLSTREAMER_H
42
42
43
+ #include < deflect/qt/api.h>
44
+
43
45
#include < QString>
44
46
#include < QQuickItem>
45
47
@@ -67,12 +69,13 @@ class QmlStreamer
67
69
* @param qmlFile URL to QML file to load
68
70
* @param streamHost hostname of the Deflect server
69
71
*/
70
- QmlStreamer ( const QString& qmlFile, const std::string& streamHost );
72
+ DEFLECTQT_API QmlStreamer ( const QString& qmlFile,
73
+ const std::string& streamHost );
71
74
72
- ~QmlStreamer ();
75
+ DEFLECTQT_API ~QmlStreamer ();
73
76
74
77
/* * @return the QML root item, might be nullptr if not ready yet. */
75
- QQuickItem* getRootItem ();
78
+ DEFLECTQT_API QQuickItem* getRootItem ();
76
79
77
80
private:
78
81
QmlStreamer ( const QmlStreamer& ) = delete ;
Original file line number Diff line number Diff line change @@ -75,8 +75,7 @@ namespace deflect
75
75
namespace qt
76
76
{
77
77
78
- QmlStreamer::QmlStreamer::Impl::Impl ( const QString& qmlFile,
79
- const std::string& streamHost )
78
+ QmlStreamer::Impl::Impl ( const QString& qmlFile, const std::string& streamHost )
80
79
: QWindow()
81
80
, _context( new QOpenGLContext )
82
81
, _offscreenSurface( new QOffscreenSurface )
You can’t perform that action at this time.
0 commit comments