Skip to content

Commit

Permalink
Fix failure to load certificate in cmd line project.
Browse files Browse the repository at this point in the history
The certificate was only available in the GUI project.
  • Loading branch information
sashoalm committed Aug 13, 2017
1 parent 7878a58 commit 795f30f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion QFtpServer/QFtpServer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RESOURCES += \
res.qrc

OTHER_FILES += \
privkey.pem \
cacert.pem \
android/AndroidManifest.xml

Expand Down
4 changes: 0 additions & 4 deletions QFtpServer/res.qrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<RCC>
<qresource prefix="/ssl">
<file>cacert.pem</file>
<file>privkey.pem</file>
</qresource>
<qresource prefix="/icons">
<file alias="appicon">android/res/drawable-hdpi/icon.png</file>
</qresource>
Expand Down
3 changes: 3 additions & 0 deletions QFtpServerLib/QFtpServerLib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ unix {
target.path = /usr/lib
INSTALLS += target
}

RESOURCES += \
certificates.qrc
File renamed without changes.
6 changes: 6 additions & 0 deletions QFtpServerLib/certificates.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<RCC>
<qresource prefix="/ssl">
<file>cacert.pem</file>
<file>privkey.pem</file>
</qresource>
</RCC>
File renamed without changes.

0 comments on commit 795f30f

Please sign in to comment.