remove stack size & ignore lib

This commit is contained in:
王劲鹏 2021-03-31 17:15:46 +08:00 committed by osborn
parent f6f25f6344
commit 2684a78493
3 changed files with 3 additions and 6 deletions

3
doric-Qt/.gitignore vendored
View File

@ -1,2 +1,3 @@
/build-doric-*/ /build-doric-*/
.DS_Store .DS_Store
/doric/library/v8/release/v8_monolith.lib

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject> <!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.14.1, 2021-03-31T15:12:05. --> <!-- Written by QtCreator 4.14.1, 2021-03-31T17:10:25. -->
<qtcreator> <qtcreator>
<data> <data>
<variable>EnvironmentId</variable> <variable>EnvironmentId</variable>
@ -301,7 +301,6 @@
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/maverick/Workspace/Doric/doric-Qt/build-doric-Desktop_Qt_6_0_2_MSVC2019_64bit-Debug</value>
</valuemap> </valuemap>
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap> </valuemap>
@ -523,7 +522,6 @@
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value> <value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/maverick/Workspace/Doric/doric-Qt/build-doric-Desktop_Qt_6_0_1_MinGW_64_bit-Debug</value>
</valuemap> </valuemap>
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
</valuemap> </valuemap>

View File

@ -17,10 +17,8 @@
DoricJSEngine::DoricJSEngine(QObject *parent) : QObject(parent) { DoricJSEngine::DoricJSEngine(QObject *parent) : QObject(parent) {
mJSThreadPool.setMaxThreadCount(1); mJSThreadPool.setMaxThreadCount(1);
mJSThreadPool.setStackSize(3000000000);
QtConcurrent::run(&mJSThreadPool, [this] { QtConcurrent::run(&mJSThreadPool, [this] {
qDebug() << QThread::currentThread()->stackSize();
mJSE = new DoricNativeJSE(); mJSE = new DoricNativeJSE();
}); });
QtConcurrent::run(&mJSThreadPool, [this] { QtConcurrent::run(&mJSThreadPool, [this] {