2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

first version ubuntu qt creator build

This commit is contained in:
John Preston
2014-07-08 14:24:21 +04:00
parent ce84c603c2
commit da0f087404
22 changed files with 2160 additions and 61 deletions

View File

@@ -16,6 +16,7 @@ Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
Copyright (c) 2014 John Preston, https://tdesktop.com
*/
#include "stdafx.h"
#include <iostream>
#include "pspecific.h"
namespace {
@@ -71,6 +72,8 @@ void debugLogWrite(const char *file, int32 line, const QString &v) {
OutputDebugString(reinterpret_cast<const wchar_t *>(msg.utf16()));
#elif defined Q_OS_MAC
objc_outputDebugString(msg);
#elif defined Q_OS_LINUX && defined _DEBUG
std::cout << msg.toUtf8().constData();
#endif
}
}