Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some bugs that are preventing a successful build #34

Open
tawandakembo opened this issue May 14, 2021 · 1 comment
Open

Some bugs that are preventing a successful build #34

tawandakembo opened this issue May 14, 2021 · 1 comment

Comments

@tawandakembo
Copy link
Contributor

tawandakembo commented May 14, 2021

When you try to build a GUI wallet on macOS according to the instructions (the CLI app works fine), it fails and the following is a snippet of the warnings and errors that are printed when building a GUI wallet:

    qt/BGL.cpp:241:53: warning: 'QFlags' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
        SplashScreen *splash = new SplashScreen(m_node, nullptr, networkStyle);
                                                        ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qflags.h:123:5: note: 'QFlags' has been explicitly marked deprecated here
        QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
        ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
    #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                    ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
    #    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                          ^
    1 warning generated.
      CXX      qt/libBGLqt_a-BGLaddressvalidator.o
      CXX      qt/libBGLqt_a-BGLgui.o
    qt/BGLgui.cpp:1267:29: warning: 'pixmap' is deprecated: Use the other overload which returns QPixmap by-value [-Wdeprecated-declarations]
            if (labelProxyIcon->pixmap() == nullptr) {
                                ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtWidgets.framework/Headers/qlabel.h:77:5: note: 'pixmap' has been explicitly marked deprecated here
        QT_DEPRECATED_VERSION_X(5, 15, "Use the other overload which returns QPixmap by-value")
        ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:382:53: note: expanded from macro 'QT_DEPRECATED_VERSION_X'
    #define QT_DEPRECATED_VERSION_X(major, minor, text) QT_DEPRECATED_VERSION_X_##major(minor, text)
                                                        ^
    <scratch space>:25:1: note: expanded from here
    QT_DEPRECATED_VERSION_X_5
    ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:381:53: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5'
    #define QT_DEPRECATED_VERSION_X_5(minor, text)      QT_DEPRECATED_VERSION_X_5_##minor(text)
                                                        ^
    note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'
    # define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
                                                ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
    #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                    ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
    #    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                          ^
    1 warning generated.
      CXX      qt/libBGLqt_a-clientmodel.o
      CXX      qt/libBGLqt_a-guiutil.o
    qt/guiutil.cpp:81:22: warning: unused variable 'dummydata' [-Wunused-const-variable]
    static const uint8_t dummydata[] = {0xeb,0x15,0x23,0x1d,0xfc,0xeb,0x60,0x92,0x58,0x86,0xb6,0x7d,0x06,0x52,0x99,0x92,0x59,0x15,0xae,0xb1,0x72,0xc0,0x66,0x47};
                         ^
    1 warning generated.
      CXX      qt/libBGLqt_a-intro.o
      CXX      qt/libBGLqt_a-modaloverlay.o
      CXX      qt/libBGLqt_a-notificator.o
      CXX      qt/libBGLqt_a-optionsdialog.o
      CXX      qt/libBGLqt_a-optionsmodel.o
    qt/optionsmodel.cpp:221:59: warning: 'split' is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
        QStringList ip_port = settings.value(name).toString().split(":", QString::SkipEmptyParts);
                                                              ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qstring.h:608:23: note: 'split' has been explicitly marked deprecated here
        Q_REQUIRED_RESULT QT_DEPRECATED_VERSION_X_5_15("Use Qt::SplitBehavior variant instead")
                          ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:374:45: note: expanded from macro 'QT_DEPRECATED_VERSION_X_5_15'
    # define QT_DEPRECATED_VERSION_X_5_15(text) QT_DEPRECATED_X(text)
                                                ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
    #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
                                    ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
    #    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
                                                          ^
    1 warning generated.
      CXX      qt/libBGLqt_a-peertablemodel.o
      CXX      qt/libBGLqt_a-rpcconsole.o
      CXX      qt/libBGLqt_a-splashscreen.o
    qt/splashscreen.cpp:43:9: warning: unused variable 'paddingTop' [-Wunused-variable]
        int paddingTop              = 490;
            ^
    qt/splashscreen.cpp:45:9: warning: unused variable 'titleCopyrightVSpace' [-Wunused-variable]
        int titleCopyrightVSpace    = 22;
            ^
    qt/splashscreen.cpp:42:9: warning: unused variable 'paddingRight' [-Wunused-variable]
        int paddingRight            = 14;
            ^
    qt/splashscreen.cpp:44:9: warning: unused variable 'titleVersionVSpace' [-Wunused-variable]
        int titleVersionVSpace      = 17;
            ^
    4 warnings generated.
      CXX      qt/libBGLqt_a-trafficgraphwidget.o
    qt/trafficgraphwidget.cpp:55:13: error: member access into incomplete type 'QPainterPath'
            path.moveTo(x, YMARGIN + h);
                ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    class QPainterPath;
          ^
    qt/trafficgraphwidget.cpp:59:17: error: member access into incomplete type 'QPainterPath'
                path.lineTo(x, y);
                    ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    class QPainterPath;
          ^
    qt/trafficgraphwidget.cpp:61:13: error: member access into incomplete type 'QPainterPath'
            path.lineTo(x, YMARGIN + h);
                ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    class QPainterPath;
          ^
    qt/trafficgraphwidget.cpp:109:22: error: variable has incomplete type 'QPainterPath'
            QPainterPath p;
                         ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    class QPainterPath;
          ^
    qt/trafficgraphwidget.cpp:116:22: error: variable has incomplete type 'QPainterPath'
            QPainterPath p;
                         ^
    /usr/local/Cellar/qt@5/5.15.2/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
    class QPainterPath;
          ^
    5 errors generated.
@wu-emma
Copy link
Collaborator

wu-emma commented May 17, 2021

Hi, could you please use https://github.com/bitgesellofficial/bitgesell to create issues and activity. Thanks for the participation!

wu-emma pushed a commit that referenced this issue Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants