mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 03:08:28 +08:00
launch linux
This commit is contained in:
@ -72,6 +72,7 @@ namespace PdfReader
|
||||
m_pInternal->m_pFontManager = NULL;
|
||||
|
||||
m_pInternal->m_pGlobalParams = new GlobalParamsAdaptor(NULL);
|
||||
globalParams = m_pInternal->m_pGlobalParams;
|
||||
m_pInternal->m_pFontList = new CFontList();
|
||||
|
||||
m_pInternal->m_pAppFonts = pAppFonts;
|
||||
|
||||
@ -6,12 +6,14 @@
|
||||
#include <codecvt>
|
||||
|
||||
StringAdaptor::StringAdaptor(const std::string &s) {
|
||||
w_str = nullptr;
|
||||
str = new char[s.length() + 1];
|
||||
std::strcpy(str, s.c_str());
|
||||
update_wstr();
|
||||
}
|
||||
|
||||
StringAdaptor::StringAdaptor(const std::wstring &s) {
|
||||
str = nullptr;
|
||||
w_str = new wchar_t[s.length() + 1];
|
||||
std::wcscpy(w_str, s.c_str());
|
||||
update_str();
|
||||
|
||||
@ -18,8 +18,15 @@ HEADERS += \
|
||||
FORMS += \
|
||||
mainwindow.ui
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$PWD/../../lib/goo \
|
||||
$$PWD/../../lib/fofi \
|
||||
$$PWD/../../lib/splash \
|
||||
$$PWD/../../lib
|
||||
|
||||
PWD_ROOT_DIR = $$PWD
|
||||
CORE_ROOT_DIR = $$PWD/../../../../core
|
||||
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user