Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
5b6f4a48
Commit
5b6f4a48
authored
Oct 10, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the build of UBVERSION
parent
34b30119
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
OpenBoard.pro
OpenBoard.pro
+1
-1
UBApplication.cpp
src/core/UBApplication.cpp
+4
-1
No files found.
OpenBoard.pro
View file @
5b6f4a48
...
@@ -10,7 +10,7 @@ CONFIG += debug_and_release \
...
@@ -10,7 +10,7 @@ CONFIG += debug_and_release \
VERSION_MAJ
=
1
VERSION_MAJ
=
1
VERSION_MIN
=
00
VERSION_MIN
=
00
VERSION_TYPE
=
r
#
a
=
alpha
,
b
=
beta
,
r
=
release
,
other
=>
error
VERSION_TYPE
=
r
#
a
=
alpha
,
b
=
beta
,
r
c
=
release
candidate
,
r
=
release
,
other
=>
error
VERSION_PATCH
=
02
VERSION_PATCH
=
02
VERSION
=
"$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
VERSION
=
"$${VERSION_MAJ}.$${VERSION_MIN}.$${VERSION_TYPE}.$${VERSION_PATCH}"
...
...
src/core/UBApplication.cpp
View file @
5b6f4a48
...
@@ -124,7 +124,10 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
...
@@ -124,7 +124,10 @@ UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSing
setOrganizationDomain
(
"oe-f.org"
);
setOrganizationDomain
(
"oe-f.org"
);
setApplicationName
(
"OpenBoard"
);
setApplicationName
(
"OpenBoard"
);
setApplicationVersion
(
UBVERSION
);
QString
version
=
UBVERSION
;
if
(
version
.
endsWith
(
"."
))
version
=
version
.
left
(
version
.
length
()
-
1
);
setApplicationVersion
(
version
);
#if defined(Q_WS_MAC) && !defined(QT_NO_DEBUG)
#if defined(Q_WS_MAC) && !defined(QT_NO_DEBUG)
CFStringRef
shortVersion
=
(
CFStringRef
)
CFBundleGetValueForInfoDictionaryKey
(
CFBundleGetMainBundle
(),
CFSTR
(
"CFBundleShortVersionString"
));
CFStringRef
shortVersion
=
(
CFStringRef
)
CFBundleGetValueForInfoDictionaryKey
(
CFBundleGetMainBundle
(),
CFSTR
(
"CFBundleShortVersionString"
));
...
...
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