Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.5 - Qt3D - window.h file in the examples

Qt 5.5 - Qt3D - window.h file in the examples

Scheduled Pinned Locked Moved General and Desktop
c++qt3d
3 Posts 3 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Thulsa Doom
    wrote on 21 Jul 2015, 01:59 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sergey Perevalov
      wrote on 21 Jul 2015, 10:44 last edited by
      #2

      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
      
      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        Zypo
        wrote on 24 Jul 2015, 00:51 last edited by
        #3

        https://github.com/qtproject/qt3d/tree/dev/examples/qt3d/common

        Remember to call create()!!!

        1 Reply Last reply
        0

        3/3

        24 Jul 2015, 00:51

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved