Hearts Original

Card app card game qt x86-64

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Rescator7/Hearts

0
Score 50.0%
Description:

The game of card Hearts for QT 5.x, and liballegro 5 (for sounds support). Playing against computers.
Last changelog:

Version 1.4b 1 month ago

1.3 Bigger cards lined up on a single row (Overlapping)
1.3 Basic language support (French, Russian)
1.4 Easy card selection (Settings)
1.4 Support 2 differents card deck (English, Russian)

sombragris

1 month ago

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

Report

C

rescator7

1 month ago

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?

Report

sombragris

30 days ago

"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!!

Report

C

rescator7

8 months ago

Version 1.1
- added option to save unfinished game.
- added game statistics
- bugs fixes
- AI tweak

Report

Version 1.4b 1 month ago

1.3 Bigger cards lined up on a single row (Overlapping)
1.3 Basic language support (French, Russian)
1.4 Easy card selection (Settings)
1.4 Support 2 differents card deck (English, Russian)

Version 1.2b 8 months ago

fix: new moon substract bug
fix: auto save game
added: debug tools "cards history"
modified: AI to have different computer playing style. (an attempt)

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
MIT License
version
1.4b
updated Jul 16 2019
added Nov 20 2018
downloads 24h
0
page views 24h 8