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

[GUI] qt4 no longer supported? #859

Closed
MarcinWieczorek opened this issue Jun 2, 2016 · 3 comments
Closed

[GUI] qt4 no longer supported? #859

MarcinWieczorek opened this issue Jun 2, 2016 · 3 comments

Comments

@MarcinWieczorek
Copy link

Hello

I got this error when compiling dash gui with qt4:

qt/masternodelist.cpp: In constructor 'MasternodeList::MasternodeList(const PlatformStyle*, QWidget*)':
qt/masternodelist.cpp:36:55: error: 'class QHeaderView' has no member named 'setSectionResizeMode'
     ui->tableWidgetMyMasternodes->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
                                                       ^
qt/masternodelist.cpp:44:53: error: 'class QHeaderView' has no member named 'setSectionResizeMode'
     ui->tableWidgetMasternodes->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
                                                     ^
Makefile:5739: recipe for target 'qt/qt_libbitcoinqt_a-masternodelist.o' failed

I've looked it up on the net:

void QHeaderView::setSectionResizeMode(ResizeMode mode)
This function was introduced in Qt 5.0.

source: http://doc.qt.io/qt-5/qheaderview.html#setSectionResizeMode

I think this means the gui is impossible to build with qt4, build-unix.md is misleading and --with-gui=qt4 option is unusable.

@UdjinM6
Copy link

UdjinM6 commented Jun 3, 2016

Should be fixed in #862
Thanks for reporting!

schinzelh pushed a commit that referenced this issue Jun 3, 2016
9c61b11 make MasternodeList qt4 compatible, fixes #859
@MarcinWieczorek
Copy link
Author

Should I close this? The PR has been merged.

@schinzelh
Copy link

Did you test if it works now? If it works it can be closed :-)

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

3 participants