TONPPAMF

The Official NPPAngband And NPPMoria Forum

You are not logged in.

Announcement

November 28, 2016 - NPPAngband forum has been migrated to a new host. SSL has been enabled so please use https:// if possible.

#1 2016-02-29 13:25:11

ennorie
Member
From: Gdańsk, Poland
Registered: 2008-10-13
Posts: 3

linux NPPAngband/Moria 8.0.3

Hi,

under linux, I tried to compile using this tandem :
$ qmake-qt4 NPPQT.pro
$ make

end the outcome is :

g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4 -I. -o qt_mainwindow.o src/qt_mainwindow.cpp
src/qt_mainwindow.cpp: In member function ‘void MainWindow::save_png_screenshot()’:
src/qt_mainwindow.cpp:2406:39: error: ‘class MainWindow’ has no member named ‘grab’
     QPixmap screenshot = main_window->grab(screen_grab);

another tandem :

$ qmake-qt5 NPPQT.pro
$ make

runs flawlessly

Salutations

Last edited by ennorie (2016-02-29 13:27:17)

Offline

#2 2016-03-01 10:29:19

NPPAngband
NPPAngband Maintainer
Registered: 2004-07-01
Posts: 1,647
Website

Re: linux NPPAngband/Moria 8.0.3

Thanks. I should add that to the compiling notes.  It was developed in QT5.  QT4 is different enough where the two versions are not compatible.

Offline

Board footer

Powered by FluxBB