Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
39944f9d
Commit
39944f9d
authored
Sep 04, 2024
by
郭峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gamera_videos.pro
parent
b85f8dbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
gamera_videos.pro
+7
-1
No files found.
gamera_videos.pro
View file @
39944f9d
...
@@ -12,8 +12,12 @@ TEMPLATE = app
...
@@ -12,8 +12,12 @@ TEMPLATE = app
# depend on your compiler). Please consult the documentation of the
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
# deprecated API in order to know how to port your code away from it.
DEFINES
+=
QT_DEPRECATED_WARNINGS
DEFINES
+=
QT_DEPRECATED_WARNINGS
DEFINES
+=
APP_VERSION
=
\\\
"1.3.0\\\"
# DEFINES += APP_VERSION=\\\"1.3.0\\\"
# 获取最新的 git commit hash
GIT_COMMIT_HASH
=
$$
system
(
git
log
-
1
--
format
=
%
h
)
# 使用 git commit hash 设置 APP_VERSION
DEFINES
+=
APP_VERSION
=
\\\
"$$GIT_COMMIT_HASH\\\"
QMAKE_LIBDIR
+=
/
usr
/
local
/
lib
QMAKE_LIBDIR
+=
/
usr
/
local
/
lib
...
@@ -136,3 +140,5 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
...
@@ -136,3 +140,5 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
#RESOURCES += \
#RESOURCES += \
# BG.qrc
# BG.qrc
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