ensured building on latest archlinux system
This commit is contained in:
17
main.cpp
17
main.cpp
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user