Giter Site home page Giter Site logo

commonqt5's People

Contributors

eudoxia0 avatar hineios avatar ivan4th avatar lichtblau avatar luismbo avatar markcox80 avatar pmferreira3 avatar shinmera avatar stassats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

commonqt5's Issues

I try to compile smokeqt , i got "error: '__config' file not found with <angled> include; use "quotes" instead" and error: '__functional_base' file not found with <angled> include; use "quotes" instead and so on

[  1%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o
[  2%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_1.cpp.o
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:83:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractAnimation::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractanimation.h:56:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:244:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractAnimation::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractanimation.h:56:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:249:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractAnimation::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractanimation.h:56:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:525:52: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractEventDispatcher::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                                   ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracteventdispatcher.h:58:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:661:52: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractEventDispatcher::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                                   ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracteventdispatcher.h:58:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:666:52: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractEventDispatcher::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                                   ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracteventdispatcher.h:58:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:970:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractItemModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:170:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:1476:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractItemModel::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:170:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:1481:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractItemModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:170:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:2206:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractListModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:415:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:2267:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractListModel::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:415:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:2272:46: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractListModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                             ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:415:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:2734:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractProxyModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractproxymodel.h:54:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:3025:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractProxyModel::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractproxymodel.h:54:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:3030:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractProxyModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractproxymodel.h:54:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:3571:42: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractState::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                         ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractstate.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:3632:42: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractState::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                         ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractstate.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_1.cpp:3637:42: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractState::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                         ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractstate.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
18 warnings generated.
[  3%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_2.cpp.o
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:81:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTableModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:389:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:142:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTableModel::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:389:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:147:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTableModel::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstractitemmodel.h:389:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:572:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTransition::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracttransition.h:63:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:668:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTransition::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracttransition.h:63:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:673:47: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAbstractTransition::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                              ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qabstracttransition.h:63:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:868:43: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAnimationGroup::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                          ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qanimationgroup.h:52:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:939:43: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAnimationGroup::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                          ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qanimationgroup.h:52:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:944:43: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QAnimationGroup::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                          ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qanimationgroup.h:52:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:1172:55: warning: 'QBasicTimer' is deprecated: copy-construction is unsupported; use move-construction instead [-Wdeprecated-declarations]
    explicit x_QBasicTimer(const ::QBasicTimer& x1) : QBasicTimer(x1) {}
                                                      ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qbasictimer.h:59:5: note: 'QBasicTimer' has been explicitly marked deprecated here
    QT_DEPRECATED_X("copy-construction is unsupported; use move-construction instead")
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:1175:50: warning: 'operator=' is deprecated: copy-assignment is unsupported; use move-assignment instead [-Wdeprecated-declarations]
        ::QBasicTimer& xret = this->QBasicTimer::operator=(*(const ::QBasicTimer*)x[1].s_class);
                                                 ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qbasictimer.h:61:5: note: 'operator=' has been explicitly marked deprecated here
    QT_DEPRECATED_X("copy-assignment is unsupported; use move-assignment instead")
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
#  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
#    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                      ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:1523:35: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QBuffer::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
                                  ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qbuffer.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:1690:35: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QBuffer::trUtf8((const char*)x[1].s_class,(const char*)nullptr,(int)-1);
                                  ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qbuffer.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
/home/prehonor/CLionProjects/smokeqt/build/qtcore/x_2.cpp:1695:35: warning: 'trUtf8' is deprecated [-Wdeprecated-declarations]
        ::QString xret = QBuffer::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)-1);
                                  ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qbuffer.h:55:5: note: 'trUtf8' has been explicitly marked deprecated here
    Q_OBJECT
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:178:5: note: expanded from macro 'Q_OBJECT'
    QT_TR_FUNCTIONS \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qobjectdefs.h:134:5: note: expanded from macro 'QT_TR_FUNCTIONS'
    QT_DEPRECATED static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) \
    ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qglobal.h:292:25: note: expanded from macro 'QT_DEPRECATED'
#  define QT_DEPRECATED Q_DECL_DEPRECATED
                        ^
/nix/store/q2s73wjkn5shgn2swp1gwibvzwipnlyi-qtbase-5.15.3-dev/include/QtCore/qcompilerdetection.h:227:45: note: expanded from macro 'Q_DECL_DEPRECATED'
#  define Q_DECL_DEPRECATED __attribute__ ((__deprecated__))
                                            ^
14 warnings generated.
[  4%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_3.cpp.o
In file included from /home/prehonor/CLionProjects/smokeqt/build/qtcore/x_3.cpp:2:
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/iterator:417:10: error: '__config' file not found with <angled> include; use "quotes" instead
#include <__config>
         ^~~~~~~~~~
         "__config"
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/iterator:419:10: error: '__functional_base' file not found with <angled> include; use "quotes" instead
#include <__functional_base>
         ^~~~~~~~~~~~~~~~~~~
         "__functional_base"
In file included from /home/prehonor/CLionProjects/smokeqt/build/qtcore/x_3.cpp:2:
In file included from /nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/iterator:419:
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:13:10: error: '__config' file not found with <angled> include; use "quotes" instead
#include <__config>
         ^~~~~~~~~~
         "__config"
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:80:16: error: no template named 'unary_function'; did you mean 'binary_function'?
        static unary_function<_Ap, _Rp>
               ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:80:16: error: too few template arguments for class template 'binary_function'
        static unary_function<_Ap, _Rp>
               ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:81:31: error: no template named 'unary_function'; did you mean 'binary_function'?
        __test(const volatile unary_function<_Ap, _Rp>*);
                              ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:81:31: error: too few template arguments for class template 'binary_function'
        __test(const volatile unary_function<_Ap, _Rp>*);
                              ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:168:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:168:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:174:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:174:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:180:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:180:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<_A1, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:186:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<_Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:186:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<_Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:192:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<const _Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:192:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<const _Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:198:14: error: no template named 'unary_function'; did you mean 'binary_function'?
    : public unary_function<volatile _Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: 'binary_function' declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:198:14: error: too few template arguments for class template 'binary_function'
    : public unary_function<volatile _Cp*, _Rp>
             ^
/nix/store/n7zcm67bx4jy0wpsyn0gyz93miqpzwbk-libcxx-11.1.0-dev/include/c++/v1/__functional_base:27:29: note: template is declared here
struct _LIBCPP_TEMPLATE_VIS binary_function
                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:184: qtcore/CMakeFiles/smokeqtcore.dir/x_3.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:260: qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

How to build smokeqt on Linux? 'windows.h' file not found

After building smokegen as in #4, I am trying to build smokeqt on Ubuntu 21.10, clang version 11.0, Qt version 5.14.2:

$ git clone [email protected]:commonqt/smokeqt.git
$ cd smokeqt
$ mkdir build
$ cd build
$ cmake -DCMAKE_PREFIX_PATH="/opt/qt/qtbase/lib/cmake/Qt5;/usr/lib/llvm-11/lib/cmake/llvm;/opt/qt/smokegen/share/smoke/cmake" \
          -DCMAKE_C_COMPILER=clang-11 \
          -DCMAKE_CXX_COMPILER=clang++-11 ..
-- The C compiler identification is Clang 11.0.1
-- The CXX compiler identification is Clang 11.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/clang-11 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/clang++-11 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build SMOKEQT5 bindings: QtGui;QtNetwork;QtPrintSupport;QtQml;QtQuick;QtWebChannel;QtWebEngineCore;QtWebEngineWidgets;QtWidgets
-- Skip SMOKEQT5 bindings:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hakon/test/smokeqt/build

$ make -j12
[  0%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp
using generator "/opt/qt/smokegen/bin/../lib/smokegen/generator_smoke.so"
didn't find file "/home/hakon/test/smokeqt/build/qtdefines"
parsing "/home/hakon/test/smokeqt/qtcore/qtcore_includes.h"
In file included from /home/hakon/test/smokeqt/qtcore/qtcore_includes.h:1:
In file included from /opt/qt/qtbase/include/QtCore/QtCore:6:
In file included from /opt/qt/qtbase/include/QtCore/qabstractanimation.h:43:
In file included from /opt/qt/qtbase/include/QtCore/qobject.h:47:
qobjectdefs-injected.moc:71:9: warning: 'Q_ENUM_IMPL' macro redefined [-Wmacro-redefined]
#define Q_ENUM_IMPL(ENUM) \
        ^
/opt/qt/qtbase/include/QtCore/qobjectdefs.h:113:9: note: previous definition is here
#define Q_ENUM_IMPL(ENUM) \
        ^
1 warning generated.
Generating SMOKE sources...
preparing SMOKE data [qtcore]
writing out smokedata.cpp [qtcore]
writing out x_*.cpp [qtcore]
Done.
Scanning dependencies of target smokeqtcore
[  3%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_3.cpp.o
[  4%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_2.cpp.o
[  4%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/smokedata.cpp.o
[  5%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_4.cpp.o
[  4%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_1.cpp.o
[  6%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_5.cpp.o
[  7%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_6.cpp.o
[  9%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_7.cpp.o
[  9%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_8.cpp.o
[ 10%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_10.cpp.o
[ 11%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_9.cpp.o
[ 12%] Building CXX object qtcore/CMakeFiles/smokeqtcore.dir/x_11.cpp.o
/home/hakon/test/smokeqt/build/qtcore/x_6.cpp/home/hakon/test/smokeqt/build/qtcore/x_4.cpp::/home/hakon/test/smokeqt/build/qtcore/x_7.cpp:33::1010:: 3fatal error : /home/hakon/test/smokeqt/build/qtcore/x_3.cpp:10: /home/hakon/test/smokeqt/build/qtcore/x_5.cpp/home/hakon/test/smokeqt/build/qtcore/x_1.cpp:fatal error:: 3'windows.h' file not found3::
1010'windows.h' file not found::
fatal errorfatal error: : 'windows.h' file not found'windows.h' file not found
#include <windows.h>

         ^~~~~~~~~~~
/home/hakon/test/smokeqt/build/qtcore/x_9.cpp#include <windows.h>#include <windows.h>:

3#include <windows.h>
:         ^~~~~~~~~~~10         ^~~~~~~~~~~
:
 fatal error: 'windows.h' file not found
#include <windows.h>
         ^~~~~~~~~~~
/home/hakon/test/smokeqt/build/qtcore/x_2.cpp:3:10: fatal error: 'windows.h' file not found
#include <windows.h>
         ^~~~~~~~~~~
/home/hakon/test/smokeqt/build/qtcore/x_8.cpp:3:10: fatal error: 'windows.h' file not found
#include <windows.h>
         ^~~~~~~~~~~
:3:10: fatal error: fatal error'windows.h' file not found
: #include <windows.h>
         ^~~~~~~~~~~
/home/hakon/test/smokeqt/build/qtcore/x_10.cpp:'windows.h' file not found3:10
#include <windows.h>
: fatal error: 'windows.h' file not found
         ^~~~~~~~~~~#include <windows.h>

         ^~~~~~~~~~~
         ^~~~~~~~~~~
/home/hakon/test/smokeqt/build/qtcore/x_11.cpp:3:10: fatal error: 'windows.h' file not found
#include <windows.h>
         ^~~~~~~~~~~
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:252: qtcore/CMakeFiles/smokeqtcore.dir/x_8.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:174: qtcore/CMakeFiles/smokeqtcore.dir/x_2.cpp.o] Error 1
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:187: qtcore/CMakeFiles/smokeqtcore.dir/x_3.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:239: qtcore/CMakeFiles/smokeqtcore.dir/x_7.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:226: qtcore/CMakeFiles/smokeqtcore.dir/x_6.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:278: qtcore/CMakeFiles/smokeqtcore.dir/x_10.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:291: qtcore/CMakeFiles/smokeqtcore.dir/x_11.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:200: qtcore/CMakeFiles/smokeqtcore.dir/x_4.cpp.o] Error 1
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:213: qtcore/CMakeFiles/smokeqtcore.dir/x_5.cpp.o] Error 1
1 error generated.
1 error generated.
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:161: qtcore/CMakeFiles/smokeqtcore.dir/x_1.cpp.o] Error 1
make[2]: *** [qtcore/CMakeFiles/smokeqtcore.dir/build.make:265: qtcore/CMakeFiles/smokeqtcore.dir/x_9.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:302: qtcore/CMakeFiles/smokeqtcore.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

How to build smokegen on Linux?

I am on Ubuntu 21.10, clang version 13.0, Qt version 5.14.2. I tried this:

$ git clone [email protected]:commonqt/smokegen.git
$ cd smokegen
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/qt/smokegen -DCMAKE_PREFIX_PATH=/opt/qt/qtbase/lib/cmake/Qt5 \
      -DQt5_DIR=/opt/qt/qtbase -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.12") 
-- Found LLVM 13.0.0
-- Using LLVMConfig.cmake in: /lib/llvm-13/cmake
-- Linker detection: GNU ld
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hakon/test/smokegen/build2

$ make -j12
Scanning dependencies of target smokegen
Scanning dependencies of target smokebase
[  4%] Building CXX object smokebase/CMakeFiles/smokebase.dir/smokebase.cpp.o
[  9%] Building CXX object CMakeFiles/smokegen.dir/astvisitor.cpp.o
[ 18%] Building CXX object CMakeFiles/smokegen.dir/frontendaction.cpp.o
[ 18%] Building CXX object CMakeFiles/smokegen.dir/defaultargvisitor.cpp.o
[ 22%] Building CXX object CMakeFiles/smokegen.dir/astconsumer.cpp.o
[ 36%] Building CXX object CMakeFiles/smokegen.dir/options.cpp.o
[ 36%] Building CXX object CMakeFiles/smokegen.dir/main.cpp.o
[ 36%] Building CXX object CMakeFiles/smokegen.dir/ppcallbacks.cpp.o
[ 40%] Building CXX object CMakeFiles/smokegen.dir/type.cpp.o
[ 45%] Linking CXX shared library ../bin/libsmokebase.so
[ 45%] Built target smokebase
Scanning dependencies of target smokeapi
Scanning dependencies of target smokedeptool
[ 50%] Building CXX object smokeapi/CMakeFiles/smokeapi.dir/main.cpp.o
[ 54%] Building CXX object deptool/CMakeFiles/smokedeptool.dir/main.cpp.o
/home/hakon/test/smokegen/type.cpp: In member function ‘bool Type::isAssignable()’:
/home/hakon/test/smokegen/type.cpp:221:1: warning: control reaches end of non-void function [-Wreturn-type]
  221 | }
      | ^
[ 59%] Linking CXX executable ../bin/smokeapi
/home/hakon/test/smokegen/deptool/main.cpp: In function ‘int main(int, char**)’:
/home/hakon/test/smokegen/deptool/main.cpp:104:10: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<Smoke*>::iterator; LessThan = bool (*)(Smoke*, Smoke*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
  104 |     qSort(smokeModules.begin(), smokeModules.end(), smokeModuleLessThan);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/qt/qtbase/include/QtCore/qlist.h:43,
                 from /opt/qt/qtbase/include/QtCore/qobject.h:49,
                 from /opt/qt/qtbase/include/QtCore/qabstractanimation.h:43,
                 from /opt/qt/qtbase/include/QtCore/QtCore:6,
                 from /home/hakon/test/smokegen/deptool/main.cpp:20:
/opt/qt/qtbase/include/QtCore/qalgorithms.h:181:46: note: declared here
  181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
      |                                              ^~~~~
/home/hakon/test/smokegen/deptool/main.cpp:108:57: warning: ‘QList<T> QSet<T>::toList() const [with T = Smoke*]’ is deprecated: Use values() instead. [-Wdeprecated-declarations]
  108 |         QList<Smoke*> sortedList = parents[smoke].toList();
      |                                    ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /opt/qt/qtbase/include/QtCore/qdebug.h:52,
                 from /opt/qt/qtbase/include/QtCore/qcborcommon.h:45,
                 from /opt/qt/qtbase/include/QtCore/qcborvalue.h:45,
                 from /opt/qt/qtbase/include/QtCore/qcborarray.h:43,
                 from /opt/qt/qtbase/include/QtCore/QtCore:38,
                 from /home/hakon/test/smokegen/deptool/main.cpp:20:
/opt/qt/qtbase/include/QtCore/qset.h:251:14: note: declared here
  251 |     QList<T> toList() const { return values(); }
      |              ^~~~~~
/home/hakon/test/smokegen/deptool/main.cpp:109:14: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList<Smoke*>::iterator; LessThan = bool (*)(Smoke*, Smoke*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
  109 |         qSort(sortedList.begin(), sortedList.end(), smokeModuleLessThan);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/qt/qtbase/include/QtCore/qlist.h:43,
                 from /opt/qt/qtbase/include/QtCore/qobject.h:49,
                 from /opt/qt/qtbase/include/QtCore/qabstractanimation.h:43,
                 from /opt/qt/qtbase/include/QtCore/QtCore:6,
                 from /home/hakon/test/smokegen/deptool/main.cpp:20:
/opt/qt/qtbase/include/QtCore/qalgorithms.h:181:46: note: declared here
  181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
      |                                              ^~~~~
[ 59%] Built target smokeapi
[ 63%] Linking CXX executable ../bin/smokedeptool
[ 63%] Built target smokedeptool
/home/hakon/test/smokegen/main.cpp: In function ‘int main(int, char**)’:
/home/hakon/test/smokegen/main.cpp:272:21: error: ‘class clang::tooling::ToolInvocation’ has no member named ‘mapVirtualFile’
  272 |                 inv.mapVirtualFile(f->filename, { f->content, f->size });
      |                     ^~~~~~~~~~~~~~
/home/hakon/test/smokegen/main.cpp:289:34: error: exception handling disabled, use ‘-fexceptions’ to enable
  289 |     catch (const std::exception& e)
      |                                  ^
/home/hakon/test/smokegen/main.cpp:291:47: error: ‘e’ was not declared in this scope; did you mean ‘llvm::numbers::e’?
  291 |         std::cout << "An error occured: " <<  e.what();
      |                                               ^
      |                                               llvm::numbers::e
In file included from /usr/lib/llvm-13/include/llvm/ADT/DenseMap.h:20,
                 from /usr/lib/llvm-13/include/clang/Basic/FileManager.h:21,
                 from /usr/lib/llvm-13/include/clang/Tooling/Tooling.h:33,
                 from /home/hakon/test/smokegen/main.cpp:32:
/usr/lib/llvm-13/include/llvm/Support/MathExtras.h:57:18: note: ‘llvm::numbers::e’ declared here
   57 | constexpr double e          = 2.7182818284590452354, // (0x1.5bf0a8b145749P+1) https://oeis.org/A001113
      |                  ^
make[2]: *** [CMakeFiles/smokegen.dir/build.make:134: CMakeFiles/smokegen.dir/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/hakon/test/smokegen/astvisitor.cpp: In member function ‘Type* SmokegenASTVisitor::registerType(clang::QualType) const’:
/home/hakon/test/smokegen/astvisitor.cpp:530:104: error: no matching function for call to ‘llvm::APSInt::toString(int)’
  530 |                             tempArgType.setName(QString::fromStdString(args[i].getAsIntegral().toString(10)));
      |                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/lib/llvm-13/include/clang/AST/Type.h:34,
                 from /usr/lib/llvm-13/include/clang/AST/CanonicalType.h:17,
                 from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:19,
                 from /home/hakon/test/smokegen/astvisitor.cpp:4:
/usr/lib/llvm-13/include/llvm/ADT/APSInt.h:82:8: note: candidate: ‘void llvm::APSInt::toString(llvm::SmallVectorImpl<char>&, unsigned int) const’
   82 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
      |        ^~~~~~~~
/usr/lib/llvm-13/include/llvm/ADT/APSInt.h:82:40: note:   no known conversion for argument 1 from ‘int’ to ‘llvm::SmallVectorImpl<char>&’
   82 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib/llvm-13/include/clang/AST/Type.h:33,
                 from /usr/lib/llvm-13/include/clang/AST/CanonicalType.h:17,
                 from /usr/lib/llvm-13/include/clang/AST/ASTContext.h:19,
                 from /home/hakon/test/smokegen/astvisitor.cpp:4:
/usr/lib/llvm-13/include/llvm/ADT/APInt.h:1741:8: note: candidate: ‘void llvm::APInt::toString(llvm::SmallVectorImpl<char>&, unsigned int, bool, bool) const’
 1741 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
      |        ^~~~~~~~
/usr/lib/llvm-13/include/llvm/ADT/APInt.h:1741:8: note:   candidate expects 4 arguments, 1 provided
make[2]: *** [CMakeFiles/smokegen.dir/build.make:95: CMakeFiles/smokegen.dir/astvisitor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:295: CMakeFiles/smokegen.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.