[Qt-creator] Adding header files
Jothy
jothybasu at gmail.com
Fri Jul 23 11:53:31 CEST 2010
Hi Guys,
I am trying to use boost header files with a simple Qt project in Qt
creator. By right clicking "Add existing files" in the headers (in the
project files view), I added few boost headers.
And the pro file look like this
*QT += core gui *
*TARGET = untitled8*
*TEMPLATE = app*
*SOURCES += main.cpp\*
* widget.cpp
*
*HEADERS += widget.h \*
* ../../Boost/multi_array/view.hpp \*
* ../../Boost/multi_array/types.hpp \*
* ../../Boost/multi_array/subarray.hpp \*
* ../../Boost/multi_array/storage_order.hpp \*
* ../../Boost/multi_array/range_list.hpp \*
* ../../Boost/multi_array/multi_array_ref.hpp \*
* ../../Boost/multi_array/iterator.hpp \*
* ../../Boost/multi_array/index_range.hpp \*
* ../../Boost/multi_array/index_gen.hpp \*
* ../../Boost/multi_array/extent_range.hpp \*
* ../../Boost/multi_array/extent_gen.hpp \*
* ../../Boost/multi_array/copy_array.hpp \*
* ../../Boost/multi_array/concept_checks.hpp \*
* ../../Boost/multi_array/collection_concept.hpp \*
* ../../Boost/multi_array/base.hpp \*
* ../../Boost/multi_array/algorithm.hpp
*
*FORMS += widget.ui*
Now, how should I add in the widget.cpp file. It does not show any of the
hpp files after typing #include<, I even tried #include<Boost/
Any hints?
Thanks,
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100723/ee8765e6/attachment.html
More information about the Qt-creator-old
mailing list