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
Tobias Hunger
qt-creator
Commits
f8a9e099
Commit
f8a9e099
authored
Mar 15, 2010
by
Kai Koehne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings with MVSC2008
parent
d80d68b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
qtcreator.pri
qtcreator.pri
+5
-0
src/libs/3rdparty/botan/src/src.pro
src/libs/3rdparty/botan/src/src.pro
+1
-2
src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp
...s/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp
+0
-1
src/plugins/qmldesigner/designersettings.h
src/plugins/qmldesigner/designersettings.h
+2
-1
No files found.
qtcreator.pri
View file @
f8a9e099
...
...
@@ -109,6 +109,11 @@ linux-g++-* {
QMAKE_LFLAGS += -Wl,--allow-shlib-undefined -Wl,--no-undefined
}
win32-msvc* {
#Don't warn about sprintf, fopen etc being 'unsafe'
DEFINES += _CRT_SECURE_NO_WARNINGS
}
# Handle S60 support: default on Windows, conditionally built on other platforms.
win32:SUPPORT_QT_S60=1
else:SUPPORT_QT_S60 = $$(QTCREATOR_WITH_S60)
src/libs/3rdparty/botan/src/src.pro
View file @
f8a9e099
...
...
@@ -10,8 +10,7 @@ INCLUDEPATH += $$PWD $$PWD/../build $$PWD/../build/botan
win32
{
win32
-
msvc
*
{
QMAKE_CXXFLAGS
+=
-
wd4251
-
wd4290
DEFINES
+=
_CRT_SECURE_NO_WARNINGS
QMAKE_CXXFLAGS
+=
-
wd4251
-
wd4290
-
wd4250
DEFINES
+=
BOTAN_DLL
=
__declspec
(
dllexport
)
}
else
{
QMAKE_CFLAGS
+=
-
fpermissive
-
finline
-
functions
-
Wno
-
long
-
long
...
...
src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.cpp
View file @
f8a9e099
...
...
@@ -87,7 +87,6 @@ void ItemLibrarySortedModel<T>::removeElement(int libId)
{
T
*
element
=
m_elementModels
.
value
(
libId
);
int
pos
=
findElement
(
libId
);
struct
order_struct
orderEntry
=
m_elementOrder
.
at
(
pos
);
setElementVisible
(
libId
,
false
);
...
...
src/plugins/qmldesigner/designersettings.h
View file @
f8a9e099
...
...
@@ -39,7 +39,8 @@ QT_END_NAMESPACE
namespace
QmlDesigner
{
struct
DesignerSettings
{
class
DesignerSettings
{
public:
DesignerSettings
();
void
fromSettings
(
QSettings
*
);
...
...
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