Thought about a Qt port

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Mon Apr 1 00:40:21 PDT 2013


As an alternative to launching designer stand alone, Qt Creator will also
open ui files and dump you into the design mode to allow editing.  If using
Creator this may take you to other things more easily.

Mardy - are you building on Linux? I've not gotten the wip branch to
compile on OSX yet.  For some reason the build commands don't point the
.ui.h files at the location of the Qt headers so I get:

In file included from qt-gui.cpp:27:
main-window.ui.h:13:27: error: QtCore/QVariant: No such file or directory
main-window.ui.h:14:25: error: QtGui/QAction: No such file or directory
main-window.ui.h:15:30: error: QtGui/QApplication: No such file or directory
main-window.ui.h:16:30: error: QtGui/QButtonGroup: No such file or directory
main-window.ui.h:17:29: error: QtGui/QHeaderView: No such file or directory
main-window.ui.h:18:29: error: QtGui/QMainWindow: No such file or directory
main-window.ui.h:19:23: error: QtGui/QMenu: No such file or directory
main-window.ui.h:20:26: error: QtGui/QMenuBar: No such file or directory
main-window.ui.h:21:28: error: QtGui/QStatusBar: No such file or directory
main-window.ui.h:22:25: error: QtGui/QWidget: No such file or directory
qt-gui.cpp:31:24: error: QApplication: No such file or directory
qt-gui.cpp:32:23: error: QTranslator: No such file or directory
In file included from qt-gui.cpp:2415:
qt-gui.moc.cpp:11:2: error: #error "The header file 'qt-gui.cpp' doesn't
include <QObject>."
In file included from qt-gui.cpp:27:
main-window.ui.h:26: error: expected constructor, destructor, or type
conversion before ‘class’
make: *** [qt-gui.o] Error 1


This is quite exciting.

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130401/6c90468a/attachment-0001.html>


More information about the subsurface mailing list