[Qt-creator] Error building QT Creator from source
Bradley Smith
bradley at baysmith.com
Mon Jul 20 19:24:24 CEST 2009
Thomas Schulze <t.schulze at ...> writes:
>
> Hi again,
>
> sorry for having to ask again, but I encountered problems when trying to build
QtCreator from
> source.
>
> I fetched the latest revision of Qt from the git hub and built it using the
command line
> "./configure -nomake examples -nomake demos -opensource -graphicssystem
raster" - just in case that
> it's relevant to the problem. It worked fine.
>
> I then tried to compile QtCreator using this Qt installation. First the latest
Qt version from git,
> which failed with
>
> dependenciespanel.h:34:34: Error: ui_dependenciespanel.h: File or directory
not found.
>
I don't know about building with the latest Qt source, but I get the same error
using QtCreator source (at 998beeb1) and Qt 4.5.1. I fixed the error with the
following changes:
diff --git a/src/plugins/projectexplorer/dependenciespanel.cpp
b/src/plugins/projectexplorer/dependenciespanel.cpp
index a472e0e..14169e9 100644
--- a/src/plugins/projectexplorer/dependenciespanel.cpp
+++ b/src/plugins/projectexplorer/dependenciespanel.cpp
@@ -36,9 +36,11 @@
#include <QtCore/QVector>
#include <QtCore/QDebug>
#include <QtCore/QAbstractListModel>
+#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QMessageBox>
#include <QtGui/QPushButton>
+#include <QtGui/QTreeView>
#include <QtCore/QCoreApplication>
namespace ProjectExplorer {
diff --git a/src/plugins/projectexplorer/dependenciespanel.h
b/src/plugins/projectexplorer/dependenciespanel.h
index e925abb..5143664 100644
--- a/src/plugins/projectexplorer/dependenciespanel.h
+++ b/src/plugins/projectexplorer/dependenciespanel.h
@@ -31,7 +31,7 @@
#define DEPENDENCIESDIALOG_H
#include "iprojectproperties.h"
-#include "ui_dependenciespanel.h"
+//#include "ui_dependenciespanel.h"
#include <QtGui/QWidget>
More information about the Qt-creator-old
mailing list