Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbkpay
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
0
Merge Requests
0
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
zhenfei.zhang
sbkpay
Commits
8106ceb3
Commit
8106ceb3
authored
Sep 11, 2017
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复日志重新打印bug
parent
bc2e9cbb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sbkpay/control.cpp
+1
-1
sbkpay/main.cpp
+2
-2
sbkpay/sbkpay.pro.user
+1
-1
No files found.
sbkpay/control.cpp
View file @
8106ceb3
...
@@ -70,7 +70,7 @@ void Control::Start(const char *indata, char *outdata)
...
@@ -70,7 +70,7 @@ void Control::Start(const char *indata, char *outdata)
//QDir::setCurrent(appPath);
//QDir::setCurrent(appPath);
QLOG_INFO
()
<<
"Openssl support:"
<<
QSslSocket
::
supportsSsl
();
QLOG_INFO
()
<<
"Openssl support:"
<<
QSslSocket
::
supportsSsl
();
qDebug
()
<<
"Openssl support:"
<<
QSslSocket
::
supportsSsl
()
<<
QApplication
::
libraryPaths
();
QLOG_INFO
()
<<
"Openssl support:"
<<
QSslSocket
::
supportsSsl
()
<<
QApplication
::
libraryPaths
();
QEventLoop
loop
;
QEventLoop
loop
;
if
(
_widget
==
NULL
)
if
(
_widget
==
NULL
)
...
...
sbkpay/main.cpp
View file @
8106ceb3
...
@@ -62,13 +62,13 @@ extern "C" __declspec(dllexport) void Start(const char *indata, char *outdata)
...
@@ -62,13 +62,13 @@ extern "C" __declspec(dllexport) void Start(const char *indata, char *outdata)
QString
str
=
QString
(
path
)
+
"
\\
log
\\
sbuxpay.txt"
;
QString
str
=
QString
(
path
)
+
"
\\
log
\\
sbuxpay.txt"
;
/* 配置输出定向器 */
/* 配置输出定向器 */
QsLogging
::
DestinationPtr
fileDestination
(
QsLogging
::
DestinationFactory
::
MakeFileDestination
(
static
QsLogging
::
DestinationPtr
fileDestination
(
QsLogging
::
DestinationFactory
::
MakeFileDestination
(
str
,
str
,
QsLogging
::
EnableLogRotation
,
QsLogging
::
MaxSizeBytes
(
1024
*
1024
),
QsLogging
::
EnableLogRotation
,
QsLogging
::
MaxSizeBytes
(
1024
*
1024
),
QsLogging
::
MaxOldLogCount
(
5
)));
QsLogging
::
MaxOldLogCount
(
5
)));
logger
.
addDestination
(
fileDestination
);
logger
.
addDestination
(
fileDestination
);
QsLogging
::
DestinationPtr
consleDest
(
QsLogging
::
DestinationFactory
::
MakeDebugOutputDestination
());
static
QsLogging
::
DestinationPtr
consleDest
(
QsLogging
::
DestinationFactory
::
MakeDebugOutputDestination
());
logger
.
addDestination
(
consleDest
);
logger
.
addDestination
(
consleDest
);
// QByteArray rollback;
// QByteArray rollback;
...
...
sbkpay/sbkpay.pro.user
View file @
8106ceb3
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 3.5.1, 2017-09-
07T10:02:46
. -->
<!-- Written by QtCreator 3.5.1, 2017-09-
11T10:00:19
. -->
<qtcreator>
<qtcreator>
<data>
<data>
<variable>
EnvironmentId
</variable>
<variable>
EnvironmentId
</variable>
...
...
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