If you are downloading the Appimage. You needs to make sure the file is executable, to make it run.
for e.g:
1- After downloading
Open Containing Folder
2- on Hearts-1.8.4-x86_64.AppImage
Select Properties, Permissions and check : Allow executing file as program
close that window
3- You should be able to run it by Double-clicking Hearts-1.8.4-x86_64.AppImage
Thanks for the comment. Knowing that it is appreciated worth more than money. I'm always welcome for suggestions. A more up-to-date version is available as a snap package. A link is available at my github. I'll be upgrading the AppImage when there will be significant new stuff ready.
Hi, thanks for the app!
However, I tried 1.4b but cannot compile.
This is the error build (using Qt 5.13)
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I. -o mainwindow.o mainwindow.cpp
In file included from ui_mainwindow.h:26,
from mainwindow.cpp:4:
clabel.h:12:39: error: ‘Q_NULLPTR’ was not declared in this scope
12 | explicit CLabel(QWidget* parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());
| ^~~~~~~~~
make: *** [Makefile:502: mainwindow.o] Error 1
Hi!
What's your distro?
Are you sure: qmake --version show using QT 5.x ?
What's your compiler? g++ --version ?
I'm compiling just fine under Ubuntu 16.4
Qt 5.5.1
g++ version 5.4
I also tried OpenSUSE tumbleweed
Qt 5.13
g++ 9.1.1
and, it compile just fine.
Q_NULLPTR not declared usually, appear when trying to compile using QT4.
Do you have QT5 dev installed?
"Q_NULLPTR not declared usually, appear when trying to compile using QT4."
That was a great hint. You were right. I use Slackware-current and I have both versions of Qt installed. The binary "qmake" is from Qt4. For Qt5 I had to use qmake-qt5. After that it was all smooth. Thanks!!
Ratings & Comments
9 Comments
Is there some trick to make this program run? It downloads fine but how does it run?
If you are downloading the Appimage. You needs to make sure the file is executable, to make it run. for e.g: 1- After downloading Open Containing Folder 2- on Hearts-1.8.4-x86_64.AppImage Select Properties, Permissions and check : Allow executing file as program close that window 3- You should be able to run it by Double-clicking Hearts-1.8.4-x86_64.AppImage
Okay, thanks. That did the trick. I don't think I've ever seen an AppImage before. I thought it was for Apple, I guess.
8 Thanks a lot, dude. That's just I've been looking for to substitute disposed gnome-hearts package.
Thanks for the comment. Knowing that it is appreciated worth more than money. I'm always welcome for suggestions. A more up-to-date version is available as a snap package. A link is available at my github. I'll be upgrading the AppImage when there will be significant new stuff ready.
Hi, thanks for the app! However, I tried 1.4b but cannot compile. This is the error build (using Qt 5.13) g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include -I. -I. -o mainwindow.o mainwindow.cpp In file included from ui_mainwindow.h:26, from mainwindow.cpp:4: clabel.h:12:39: error: ‘Q_NULLPTR’ was not declared in this scope 12 | explicit CLabel(QWidget* parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags()); | ^~~~~~~~~ make: *** [Makefile:502: mainwindow.o] Error 1
Hi! What's your distro? Are you sure: qmake --version show using QT 5.x ? What's your compiler? g++ --version ? I'm compiling just fine under Ubuntu 16.4 Qt 5.5.1 g++ version 5.4 I also tried OpenSUSE tumbleweed Qt 5.13 g++ 9.1.1 and, it compile just fine. Q_NULLPTR not declared usually, appear when trying to compile using QT4. Do you have QT5 dev installed?
"Q_NULLPTR not declared usually, appear when trying to compile using QT4." That was a great hint. You were right. I use Slackware-current and I have both versions of Qt installed. The binary "qmake" is from Qt4. For Qt5 I had to use qmake-qt5. After that it was all smooth. Thanks!!
Version 1.1 - added option to save unfinished game. - added game statistics - bugs fixes - AI tweak