Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
1483c9c0
Commit
1483c9c0
authored
Feb 09, 2009
by
Friedemann Kleint
Browse files
Fixes: Remove dependencies to Qt private headers (shared resource editor)
RevBy: Eike Details: Remove leftover defines/includes
parent
6fa1084b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/shared/qrceditor/qrceditor.pri
View file @
1483c9c0
QT_BUILD_TREE=$$(QT_BUILD_TREE)
isEmpty(QT_BUILD_TREE):QT_BUILD_TREE=$$(QTDIR)
QT_QRC_BUILD_TREE = $$fromfile($$QT_BUILD_TREE/.qmake.cache,QT_SOURCE_TREE)
INCLUDEPATH *= $$QT_QRC_BUILD_TREE/tools/designer/src/lib/shared
INCLUDEPATH *= $$PWD $$PWD/..
QT *= xml
DEFINES *= QT_NO_SHARED_EXPORT
# Input
SOURCES += \
$$PWD/resourcefile.cpp \
...
...
@@ -21,7 +14,6 @@ HEADERS += \
$$PWD/resourceview.h \
$$PWD/qrceditor.h \
$$PWD/undocommands_p.h \
\
$$PWD/../namespace_global.h \
FORMS += $$PWD/qrceditor.ui
...
...
src/shared/qrceditor/resourcefile_p.h
View file @
1483c9c0
...
...
@@ -42,18 +42,10 @@
#include
<QtCore/QStringList>
#include
<QtGui/QIcon>
#include
"shared_global_p.h"
QT_BEGIN_NAMESPACE
namespace
qdesigner_internal
{
#ifdef BUILD_VSIP
# define RESOURCE_EXPORT
#else
# define RESOURCE_EXPORT QDESIGNER_SHARED_EXPORT
#endif
struct
File
;
struct
Prefix
;
...
...
@@ -125,7 +117,7 @@ typedef QList<Prefix *> PrefixList;
Represents the structure of a Qt Resource File (.qrc) file.
*/
class
RESOURCE_EXPORT
ResourceFile
class
ResourceFile
{
public:
ResourceFile
(
const
QString
&
file_name
=
QString
());
...
...
@@ -199,7 +191,7 @@ private:
Wraps a \l ResourceFile as a single-column tree model.
*/
class
RESOURCE_EXPORT
ResourceModel
:
public
QAbstractItemModel
class
ResourceModel
:
public
QAbstractItemModel
{
Q_OBJECT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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