Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8093cdb

Browse filesBrowse files
committed
fix project template
1 parent 78d98c5 commit 8093cdb
Copy full SHA for 8093cdb

File tree

Expand file treeCollapse file tree

3 files changed

+7
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+7
-5
lines changed

‎ProjectTemplate/project.pro

Copy file name to clipboardExpand all lines: ProjectTemplate/project.pro
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ macos {
6464
OTHER_FILES += \\
6565
AndroidManifest-service.part.xml
6666
@endif
67+
68+
DISTFILES += $$QMAKE_SUBSTITUTES

‎ProjectTemplate/scinstall.bat.in

Copy file name to clipboard
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
2-
sc create %{ProjectName} binPath= "$${target.path}\\$$TARGET.exe --backend windows" start= demand displayname= "%{ProjectName} Service" || exit /B 1
3-
sc description %{ProjectName} "The %{ProjectName} Service" || exit /B 1
2+
sc create %{ProjectName} binPath= \\"$$system_path($${target.path}\\\\$${TARGET}.exe) --backend windows\\" start= demand displayname= \\"%{ProjectName} Service\\" || exit /B 1
3+
sc description %{ProjectName} \\"The %{ProjectName} Service\\" || exit /B 1

‎ProjectTemplate/service.plist.in

Copy file name to clipboardExpand all lines: ProjectTemplate/service.plist.in
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3-
<plist version="1.0">
1+
<?xml version=\\"1.0\\" encoding=\\"UTF-8\\"?>
2+
<!DOCTYPE plist PUBLIC \\"-//Apple//DTD PLIST 1.0//EN\\" \\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\\">
3+
<plist version=\\"1.0\\">
44
<dict>
55
<key>Label</key>
66
<string>%{SvcBundleName}</string>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.