Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
fd112e41
Commit
fd112e41
authored
Jul 05, 2017
by
Eike Ziller
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into 4.4
Change-Id: I09a8dae9f7d66d193f382143dde915519bd329df
parents
13fc3c83
985180d3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
3 deletions
+16
-3
src/plugins/cpptools/projectinfo.cpp
src/plugins/cpptools/projectinfo.cpp
+1
-3
src/plugins/debugger/analyzer/analyzermanager.h
src/plugins/debugger/analyzer/analyzermanager.h
+2
-0
src/plugins/projectexplorer/abstractmsvctoolchain.cpp
src/plugins/projectexplorer/abstractmsvctoolchain.cpp
+7
-0
src/plugins/projectexplorer/abstractmsvctoolchain.h
src/plugins/projectexplorer/abstractmsvctoolchain.h
+2
-0
src/plugins/qmljstools/qmljsmodelmanager.cpp
src/plugins/qmljstools/qmljsmodelmanager.cpp
+4
-0
No files found.
src/plugins/cpptools/projectinfo.cpp
View file @
fd112e41
...
...
@@ -40,9 +40,7 @@ ToolChainInfo::ToolChainInfo(const ProjectExplorer::ToolChain *toolChain,
isMsvc2015ToolChain
=
toolChain
->
targetAbi
().
osFlavor
()
==
ProjectExplorer
::
Abi
::
WindowsMsvc2015Flavor
;
wordWidth
=
toolChain
->
targetAbi
().
wordWidth
();
targetTriple
=
type
==
ProjectExplorer
::
Constants
::
MSVC_TOOLCHAIN_TYPEID
?
QLatin1String
(
"i686-pc-windows-msvc"
)
:
toolChain
->
originalTargetTriple
();
// OK, compiler run is already cached.
targetTriple
=
toolChain
->
originalTargetTriple
();
// ...and save the potentially expensive operations for later so that
// they can be run from a worker thread.
...
...
src/plugins/debugger/analyzer/analyzermanager.h
View file @
fd112e41
...
...
@@ -30,6 +30,8 @@
#include "../debuggermainwindow.h"
#include <projectexplorer/runconfiguration.h>
#include <QWidget>
#include <QCoreApplication>
...
...
src/plugins/projectexplorer/abstractmsvctoolchain.cpp
View file @
fd112e41
...
...
@@ -97,6 +97,13 @@ bool AbstractMsvcToolChain::isValid() const
return
fi
.
isFile
()
&&
fi
.
isExecutable
();
}
QString
AbstractMsvcToolChain
::
originalTargetTriple
()
const
{
return
m_abi
.
wordWidth
()
==
64
?
QLatin1String
(
"x86_64-pc-windows-msvc"
)
:
QLatin1String
(
"i686-pc-windows-msvc"
);
}
ToolChain
::
PredefinedMacrosRunner
AbstractMsvcToolChain
::
createPredefinedMacrosRunner
()
const
{
Utils
::
Environment
env
(
m_lastEnvironment
);
...
...
src/plugins/projectexplorer/abstractmsvctoolchain.h
View file @
fd112e41
...
...
@@ -50,6 +50,8 @@ public:
bool
isValid
()
const
override
;
QString
originalTargetTriple
()
const
override
;
PredefinedMacrosRunner
createPredefinedMacrosRunner
()
const
override
;
QByteArray
predefinedMacros
(
const
QStringList
&
cxxflags
)
const
override
;
CompilerFlags
compilerFlags
(
const
QStringList
&
cxxflags
)
const
override
;
...
...
src/plugins/qmljstools/qmljsmodelmanager.cpp
View file @
fd112e41
...
...
@@ -106,6 +106,10 @@ ModelManagerInterface::ProjectInfo ModelManager::defaultProjectInfoForProject(
if
(
BuildConfiguration
*
bc
=
activeTarget
->
activeBuildConfiguration
())
{
preferDebugDump
=
bc
->
buildType
()
==
BuildConfiguration
::
Debug
;
setPreferDump
=
true
;
// Append QML2_IMPORT_PATH if it is defined in build configuration.
// It enables qmlplugindump to correctly dump custom plugins or other dependent
// plugins that are not installed in default Qt qml installation directory.
projectInfo
.
qmlDumpEnvironment
.
appendOrSet
(
"QML2_IMPORT_PATH"
,
bc
->
environment
().
value
(
"QML2_IMPORT_PATH"
),
":"
);
}
}
if
(
!
setPreferDump
&&
qtVersion
)
...
...
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