Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to use <QGeometryData> namespace



  • Hi,

    I am trying to include the <QGeometryData> namespace, but my Qt 5.0 is not recognizing it.
    It displays a wavy line under it:

    @
    #ifndef TEST_H
    #define TEST_H

    #include <QMainWindow>
    #include <QGeometryData>
    namespace Ui {
    class Test;
    }

    class Test : public QMainWindow
    {
    Q_OBJECT

    public:
    explicit Test(QWidget *parent = 0);
    ~Test();

    private:
    Ui::Test *ui;
    };

    #endif // TEST_H

    @



  • Closed due to "double post":/forums/viewthread/16550.


Log in to reply