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 project nuiapi.h header errors
Forum Updated to NodeBB v4.3 + New Features

Qt project nuiapi.h header errors

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 553 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.
  • yildizozanY Offline
    yildizozanY Offline
    yildizozan
    wrote on last edited by yildizozan
    #1

    If I include kinect api for Qt 5.6 open source project in Visual Studio 2015. I do not write any code, there are lots of error.

    Here is my steps.

    enter image description here
    enter image description here
    enter image description here
    enter image description here
    enter image description here
    enter image description here
    enter image description here
    enter image description here
    Testing Qt project
    enter image description here
    If I included nuiapi header
    enter image description here

    Here is codes
    main.cpp

        #include "example.h"
        #include <QtWidgets/QApplication>
        
        int main(int argc, char *argv[])
        {
        	QApplication a(argc, argv);
        	Example w;
        	w.show();
        	return a.exec();
        }
    

    example.cpp

        #include "example.h"
        #include "NuiApi.h"
        
        Example::Example(QWidget *parent)
        	: QMainWindow(parent)
        {
        }
        
        Example::~Example()
        {
        
        }
    

    example.h

        #ifndef EXAMPLE_H
        #define EXAMPLE_H
        
        #include <QtWidgets/QMainWindow>
        
        class Example : public QMainWindow
        {
        	Q_OBJECT
        
        public:
        	Example(QWidget *parent = 0);
        	~Example();
        
        private:
        };
        
        #endif // EXAMPLE_H
    
    1 Reply Last reply
    0

    • Login

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