Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
skylivex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
astronomy
skylivex
Commits
7dda91dc
Commit
7dda91dc
authored
Feb 21, 2013
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix MacOS load plugin path
parent
c70f3162
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
skylivex.cpp
src/skylivex.cpp
+8
-0
No files found.
src/skylivex.cpp
View file @
7dda91dc
...
@@ -59,6 +59,14 @@ void SkyliveX::initialize()
...
@@ -59,6 +59,14 @@ void SkyliveX::initialize()
void
SkyliveX
::
loadPlugins
()
void
SkyliveX
::
loadPlugins
()
{
{
QDir
pluginsDir
=
QDir
(
qApp
->
applicationDirPath
());
QDir
pluginsDir
=
QDir
(
qApp
->
applicationDirPath
());
#if defined(Q_OS_MAC)
if
(
pluginsDir
.
dirname
()
==
"MacOS"
)
{
pluginsDir
.
cdUp
();
pluginsDir
.
cdUp
();
pluginsDir
.
cdUp
();
}
#endif
pluginsDir
.
cd
(
"plugins"
);
pluginsDir
.
cd
(
"plugins"
);
std
::
cout
<<
"Try to load plugins in folder "
<<
pluginsDir
.
path
().
toStdString
()
<<
std
::
endl
;
std
::
cout
<<
"Try to load plugins in folder "
<<
pluginsDir
.
path
().
toStdString
()
<<
std
::
endl
;
...
...
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