Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
Akabei frontend
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
8
Issues
8
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chakra
Akabei
Akabei frontend
Commits
396b833b
Commit
396b833b
authored
Jan 10, 2016
by
Luca Giambonini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
align with the KF5 definitions, removed the QString cast for now, to many troubles.
parent
559811ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
CMakeLists.txt
CMakeLists.txt
+10
-0
apm.cpp
apm.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
396b833b
...
...
@@ -3,6 +3,16 @@ project(akabei)
cmake_minimum_required
(
VERSION 3.0.0
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/cmake/modules"
)
# KF5 global definitions, use them to be compatible with KF5 applications
add_definitions
(
#-DQT_NO_CAST_TO_ASCII
#-DQT_NO_CAST_FROM_ASCII
-DQT_NO_URL_CAST_FROM_STRING
-DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_USE_FAST_OPERATOR_PLUS
-DQT_USE_QSTRINGBUILDER
)
set
(
DATA_INSTALL_DIR
"
${
CMAKE_INSTALL_PREFIX
}
/share/akabei"
CACHE
"Akabei data's install dir"
STRING
)
set
(
SCRIPTS_INSTALL_DIR
"
${
DATA_INSTALL_DIR
}
/python"
CACHE
"Akabei scripts' install dir"
STRING
)
set
(
LOCALE_INSTALL_DIR
"
${
CMAKE_INSTALL_PREFIX
}
/share/locale"
CACHE
"Akabei locales' install dir"
STRING
)
...
...
apm.cpp
View file @
396b833b
...
...
@@ -58,7 +58,7 @@ OperationManager::OperationManager(APM::OperationType type, QList<APM::Operation
QLocale
systemLocale
=
QLocale
::
system
();
AkabeiClient
::
Backend
::
instance
()
->
setLocale
(
systemLocale
.
name
()
);
AkabeiClient
::
Backend
::
instance
()
->
initialize
(
root
,
cache
,
dbs
,
config
);
AkabeiClient
::
Backend
::
instance
()
->
initialize
(
root
,
cache
,
dbs
,
QUrl
(
config
)
);
}
OperationManager
::~
OperationManager
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment