Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8b4d6ea8
Commit
8b4d6ea8
authored
Mar 22, 2011
by
Tobias Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only build and use MSVC on windows
Reviewed-by: dt
parent
2e4b4472
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
14 deletions
+16
-14
src/plugins/projectexplorer/msvctoolchain.cpp
src/plugins/projectexplorer/msvctoolchain.cpp
+2
-3
src/plugins/projectexplorer/projectexplorer.cpp
src/plugins/projectexplorer/projectexplorer.cpp
+8
-5
src/plugins/projectexplorer/projectexplorer.pro
src/plugins/projectexplorer/projectexplorer.pro
+6
-6
No files found.
src/plugins/projectexplorer/msvctoolchain.cpp
View file @
8b4d6ea8
...
...
@@ -32,6 +32,7 @@
**************************************************************************/
#include "msvctoolchain.h"
#include "msvcparser.h"
#include "projectexplorerconstants.h"
#include "headerpath.h"
...
...
@@ -42,9 +43,7 @@
#include <utils/qtcprocess.h>
#include <utils/qtcassert.h>
#include <utils/synchronousprocess.h>
#ifdef Q_OS_WIN
# include <utils/winutils.h>
#endif
#include <utils/winutils.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
...
...
src/plugins/projectexplorer/projectexplorer.cpp
View file @
8b4d6ea8
...
...
@@ -36,7 +36,6 @@
#include "buildsteplist.h"
#include "deployconfiguration.h"
#include "gcctoolchainfactories.h"
#include "msvctoolchain.h"
#include "project.h"
#include "projectexplorersettings.h"
#include "target.h"
...
...
@@ -86,6 +85,10 @@
#include "publishing/ipublishingwizardfactory.h"
#include "publishing/publishingwizardselectiondialog.h"
#ifdef Q_OS_WIN
# include "msvctoolchain.h"
#endif
#include <coreplugin/coreconstants.h>
#include <coreplugin/filemanager.h>
#include <coreplugin/icore.h>
...
...
@@ -288,12 +291,12 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
addObject
(
this
);
// Add ToolChainFactories:
#ifndef Q_OS_WIN
addAutoReleasedObject
(
new
Internal
::
GccToolChainFactory
);
addAutoReleasedObject
(
new
Internal
::
LinuxIccToolChainFactory
);
#else
#ifdef Q_OS_WIN
addAutoReleasedObject
(
new
Internal
::
MingwToolChainFactory
);
addAutoReleasedObject
(
new
Internal
::
MsvcToolChainFactory
);
#else
addAutoReleasedObject
(
new
Internal
::
GccToolChainFactory
);
addAutoReleasedObject
(
new
Internal
::
LinuxIccToolChainFactory
);
#endif
d
->
m_toolChainManager
=
new
ToolChainManager
(
this
);
...
...
src/plugins/projectexplorer/projectexplorer.pro
View file @
8b4d6ea8
...
...
@@ -12,7 +12,6 @@ INCLUDEPATH += $$PWD/../../libs/utils
HEADERS
+=
projectexplorer
.
h
\
abi
.
h
\
gcctoolchain
.
h
\
msvctoolchain
.
h
\
projectexplorer_export
.
h
\
projectwindow
.
h
\
buildmanager
.
h
\
...
...
@@ -79,7 +78,6 @@ HEADERS += projectexplorer.h \
userfileaccessor
.
h
\
cesdkhandler
.
h
\
gccparser
.
h
\
msvcparser
.
h
\
filewatcher
.
h
\
debugginghelper
.
h
\
projectexplorersettingspage
.
h
\
...
...
@@ -112,7 +110,6 @@ HEADERS += projectexplorer.h \
SOURCES
+=
projectexplorer
.
cpp
\
abi
.
cpp
\
gcctoolchain
.
cpp
\
msvctoolchain
.
cpp
\
projectwindow
.
cpp
\
buildmanager
.
cpp
\
buildsteplist
.
cpp
\
...
...
@@ -172,7 +169,6 @@ SOURCES += projectexplorer.cpp \
cesdkhandler
.
cpp
\
userfileaccessor
.
cpp
\
gccparser
.
cpp
\
msvcparser
.
cpp
\
filewatcher
.
cpp
\
debugginghelper
.
cpp
\
projectexplorersettingspage
.
cpp
\
...
...
@@ -219,8 +215,12 @@ equals(TEST, 1) {
win32
{
SOURCES
+=
applicationlauncher_win
.
cpp
\
winguiprocess
.
cpp
HEADERS
+=
winguiprocess
.
h
winguiprocess
.
cpp
\
msvcparser
.
cpp
\
msvctoolchain
.
cpp
HEADERS
+=
winguiprocess
.
h
\
msvcparser
.
h
\
msvctoolchain
.
h
}
else
{
SOURCES
+=
applicationlauncher_x11
.
cpp
macx
:
LIBS
+=
-
framework
Carbon
...
...
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