ensured building on latest archlinux system

This commit is contained in:
2024-12-01 19:37:17 +03:00
parent 88d849bee9
commit 362c70e695
9 changed files with 27 additions and 54 deletions

View File

@@ -5,29 +5,16 @@
#include <QApplication>
#include <curl/curl.h>
#include <iostream>
#if __GNUC__ < 8
#if __GNUC__ < 8 && __clang_major__ < 17
# include <experimental/filesystem>
using namespace std::experimental::filesystem;
#else
# include <filesystem>
using std::filesystem;
using namespace std::filesystem;
#endif
#include <fstream>
#include <QTranslator>
int main(int argc, char *argv[]) {
// std::ifstream test_file("/home/leca/projects/qt/checks-parser/test.html");
// std::string content;
// std::string str;
// while(getline(test_file, str)) {
// content += str + "\n";
// }
// parseOfdRuAnswer(content);
// return 0;
curl_global_init(CURL_GLOBAL_ALL);
std::string program_data_path = get_path_relative_to_home(".local/share/checks_parser");