Skip to content

Commit

Permalink
Fixed compilation on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
zenden2k committed May 7, 2024
1 parent 23b1313 commit d5847c3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
5 changes: 5 additions & 0 deletions Source/Core/Settings/CommonGuiSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
#define SettingsStringToUtf8(s) WCstringToUtf8(s)
#endif

#ifndef _WIN32
#define TCHAR char
#define _T(a) a
#endif

#include "EncodedPassword.h"

#include "Core/Images/ImageConverter.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/qimageuploader/Gui/MainWindow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "mainwindow.h"
#include "MainWindow.h"
#include "ui_mainwindow.h"

#include <vector>
Expand Down
17 changes: 8 additions & 9 deletions Source/qimageuploader/main.cpp
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
#include "Gui/mainwindow.h"
#include <QApplication>
#include <QDir>
#include <QTemporaryDir>
#include <QDebug>
#include <QKeyEvent>
#include <QMessageBox>

#include <boost/filesystem/path.hpp>
#include <boost/locale.hpp>

//#include <3rdparty/qtdotnetstyle.h>
#include "Core/Logging.h"
#include "Core/Logging/MyLogSink.h"
#include <boost/filesystem/path.hpp>
#include <boost/locale.hpp>
#include "Gui/MainWindow.h"
#include "Core/CommonDefs.h"
#include "Core/ServiceLocator.h"
#include "Core/AppParams.h"

#include "QtUploadErrorHandler.h"
#include "QtDefaultLogger.h"
#include "QtScriptDialogProvider.h"
#include "Gui/LogWindow.h"

#include <Core/Settings/QtGuiSettings.h>
#include <QMessageBox>
#include <Video/QtImage.h>

#include "Core/Settings/QtGuiSettings.h"
#include "Video/QtImage.h"
#include "Core/i18n/Translator.h"
#include "versioninfo.h"

Expand Down

0 comments on commit d5847c3

Please sign in to comment.