Qt 5.5 - Qt3D - window.h file in the examples
-
There is a file included in the Qt3D Examples named "window.h".
This file is not linked on any of the pages that I see. Where can I view this?
-
There's nothing unusual in the "window.h". You can find it "Qt\Examples\Qt-5.5\qt3d\common". But just in case, I will post it here.
#ifndef WINDOW_H #define WINDOW_H #include <QWindow> class Window : public QWindow { Q_OBJECT public: explicit Window(QScreen *screen = 0); ~Window(); protected: void keyPressEvent(QKeyEvent *e); }; #endif // QT3D_WINDOW_H
-
https://github.com/qtproject/qt3d/tree/dev/examples/qt3d/common
Remember to call create()!!!