Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Updated to Quran-application 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfriz committed Mar 9, 2021
0 parents commit 65b28dd
Show file tree
Hide file tree
Showing 268 changed files with 32,837 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build/
.vscode/
CMakeLists.txt.user
34 changes: 34 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
cmake_minimum_required(VERSION 3.9)
project(Quran-app VERSION 1.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_PREFIX_PATH "C:\\Qt\\5.12.10\\msvc2017_64;C:\\Users\\Home\\vcpkg\\installed\\x64-windows")
set(APP_ICON "src/icon.rc")

set(SRCS
src/main.cpp
src/window.cpp
src/curl_parser.cpp
src/window.hpp
src/db_reader.hpp
src/curl_parser.hpp
src/db_reader.cpp
qdarkstyle/style.qrc
)

if(CMAKE_VERSION VERSION_LESS "3.7.0")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()

find_package(Qt5 COMPONENTS Widgets REQUIRED)
find_package(CURL CONFIG REQUIRED)
find_package(unofficial-sqlite3 CONFIG REQUIRED)

add_executable(qapp WIN32 ${SRCS} ${APP_ICON})

target_link_libraries(qapp PRIVATE Qt5::Widgets CURL::libcurl unofficial::sqlite3::sqlite3)
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Quran-application

بِسْمِ ٱللّٰهِ الرَّحْمٰنِ الرَّحِيْمِ ,
السَّلاَمُ عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ

Quran app is an easy to use quran reader with support for translation in multiple languages and stream beautiful quran recitation . Made with Qt5 .

This Project uses [nlohmann json](https://github.com/nlohmann/json) for json parsing .

# Build Tools
* Visual Studio 2017/2019
* CMake
* Qt 5 For Windows

# Dependencies
To install dependencies , use vcpkg : https://github.com/microsoft/vcpkg
* libcurl : `vcpkg.exe install curl:x64-windows sqlite3:x64-windows`

# Compiling Instruction
You can either use VS Code or Qt Creator to Build this program
* make a directory called `build` , and cd to `build`
* change the `CMAKE_PREFIX_PATH` in CMakeLists.txt according to your configuration
* run `cmake ..` , then `make`
* after build please add `resources`, `qdarkstyle` and `database` directory to the build folder
114 changes: 114 additions & 0 deletions database/Chapters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
Al-Faatiha
Al-Baqara
Aal-i-Imraan
An-Nisaa
Al-Maaida
Al-Anaam
Al-Araaf
Al-Anfaal
At-Tawba
Yunus
Hud
Yusuf
Ar-Rad
Ibrahim
Al-Hijr
An-Nahl
Al-Israa
Al-Kahf
Maryam
Taa-Haa
Al-Anbiyaa
Al-Hajj
Al-Muminoon
An-Noor
Al-Furqaan
Ash-Shuaraa
An-Naml
Al-Qasas
Al-Ankaboot
Ar-Room
Luqman
As-Sajda
Al-Ahzaab
Saba
Faatir
Yaseen
As-Saaffaat
Saad
Az-Zumar
Ghafir
Fussilat
Ash-Shura
Az-Zukhruf
Ad-Dukhaan
Al-Jaathiya
Al-Ahqaf
Muhammad
Al-Fath
Al-Hujuraat
Qaaf
Adh-Dhaariyat
At-Tur
An-Najm
Al-Qamar
Ar-Rahmaan
Al-Waaqia
Al-Hadid
Al-Mujaadila
Al-Hashr
Al-Mumtahana
As-Saff
Al-Jumua
Al-Munaafiqoon
At-Taghaabun
At-Talaaq
At-Tahrim
Al-Mulk
Al-Qalam
Al-Haaqqa
Al-Maaarij
Nooh
Al-Jinn
Al-Muzzammil
Al-Muddaththir
Al-Qiyaama
Al-Insaan
Al-Mursalaat
An-Naba
An-Naaziaat
Abasa
At-Takwir
Al-Infitaar
Al-Mutaffifin
Al-Inshiqaaq
Al-Burooj
At-Taariq
Al-Alaa
Al-Ghaashiya
Al-Fajr
Al-Balad
Ash-Shams
Al-Lail
Ad-Dhuhaa
Ash-Sharh
At-Tin
Al-Alaq
Al-Qadr
Al-Bayyina
Az-Zalzala
Al-Aadiyaat
Al-Qaaria
At-Takaathur
Al-Asr
Al-Humaza
Al-Fil
Quraish
Al-Maaun
Al-Kawthar
Al-Kaafiroon
An-Nasr
Al-Masad
Al-Ikhlaas
Al-Falaq
An-Naas
Binary file added database/quran.db
Binary file not shown.
Binary file added database/quran_albanian.db
Binary file not shown.
Binary file added database/quran_azerbaijani.db
Binary file not shown.
Binary file added database/quran_bengali.db
Binary file not shown.
Binary file added database/quran_czech.db
Binary file not shown.
Binary file added database/quran_dutch.db
Binary file not shown.
Binary file added database/quran_english.db
Binary file not shown.
Binary file added database/quran_farsi.db
Binary file not shown.
Binary file added database/quran_french.db
Binary file not shown.
Binary file added database/quran_german.db
Binary file not shown.
Binary file added database/quran_hausa.db
Binary file not shown.
Binary file added database/quran_hindi.db
Binary file not shown.
Binary file added database/quran_indonesian.db
Binary file not shown.
Binary file added database/quran_japanese.db
Binary file not shown.
Binary file added database/quran_korean.db
Binary file not shown.
Binary file added database/quran_kurdish.db
Binary file not shown.
Binary file added database/quran_malayalam.db
Binary file not shown.
Binary file added database/quran_maldivian.db
Binary file not shown.
Binary file added database/quran_norwegian.db
Binary file not shown.
Binary file added database/quran_polish.db
Binary file not shown.
Binary file added database/quran_portuguese.db
Binary file not shown.
Binary file added database/quran_romanian.db
Binary file not shown.
Binary file added database/quran_russian.db
Binary file not shown.
Binary file added database/quran_sindhi.db
Binary file not shown.
Binary file added database/quran_spanish.db
Binary file not shown.
Binary file added database/quran_swahili.db
Binary file not shown.
Binary file added database/quran_swedish.db
Binary file not shown.
Binary file added database/quran_tajik.db
Binary file not shown.
Binary file added database/quran_tamil.db
Binary file not shown.
Binary file added database/quran_thai.db
Binary file not shown.
Binary file added database/quran_turkish.db
Binary file not shown.
Binary file added database/quran_urdu.db
Binary file not shown.
Binary file added database/quran_uyghur.db
Binary file not shown.
Binary file added database/quran_uzbek.db
Binary file not shown.
Loading

0 comments on commit 65b28dd

Please sign in to comment.