1
0
mirror of git://projects.qi-hardware.com/nanomap.git synced 2024-11-21 19:31:52 +02:00

first try to fix building with OpenWRT toolchain that does not include QtCore and QtGui in the include path

This commit is contained in:
Niels 2010-11-17 14:11:42 +01:00
parent bdecafa5bd
commit da88ec21cd
16 changed files with 39 additions and 39 deletions

View File

@ -24,7 +24,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include <cassert>
#include <vector>
#include <QHash>
#include <QtCore/QHash>
template< typename NodeID, typename Key >
class ArrayStorage {

View File

@ -20,10 +20,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef BLOCKCACHE_H_INCLUDED
#define BLOCKCACHE_H_INCLUDED
#include <QFile>
#include <QHash>
#include <QtCore/QFile>
#include <QtCore/QHash>
#include <limits>
#include <QtDebug>
#include <QtCore/QtDebug>
// Block must have member function / variables:
// variable id => block id

View File

@ -24,8 +24,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "utils/coordinates.h"
#include "utils/bithelpers.h"
#include "blockcache.h"
#include <QString>
#include <QFile>
#include <QtCore/QString>
#include <QtCore/QFile>
#include <algorithm>
#include <vector>

View File

@ -22,10 +22,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "contractionhierarchiesclient.h"
#include "utils/qthelpers.h"
#include <QtDebug>
#include <QtCore/QtDebug>
#include <stack>
#ifndef NOGUI
#include <QMessageBox>
#include <QtGui/QMessageBox>
#endif
ContractionHierarchiesClient::ContractionHierarchiesClient()

View File

@ -20,8 +20,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef CONTRACTIONHIERARCHIESCLIENT_H
#define CONTRACTIONHIERARCHIESCLIENT_H
#include <QObject>
#include <QStringList>
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include "interfaces/irouter.h"
#include "binaryheap.h"
#include "compressedgraph.h"

View File

@ -18,14 +18,14 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
*/
#include "gpsgridclient.h"
#include <QtDebug>
#include <QHash>
#include <QtCore/QtDebug>
#include <QtCore/QHash>
#include <algorithm>
#include "utils/qthelpers.h"
#ifndef NOGUI
#include <QInputDialog>
#include <QtGui/QInputDialog>
#endif
#include <QSettings>
#include <QtCore/QSettings>
GPSGridClient::GPSGridClient()
{

View File

@ -20,12 +20,12 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef GPSGRIDCLIENT_H
#define GPSGRIDCLIENT_H
#include <QObject>
#include <QFile>
#include <QtCore/QObject>
#include <QtCore/QFile>
#include "interfaces/igpslookup.h"
#include "cell.h"
#include "table.h"
#include <QCache>
#include <QtCore/QCache>
class GPSGridClient : public QObject, public IGPSLookup
{

View File

@ -20,12 +20,12 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef TABLE_H
#define TABLE_H
#include <QtGlobal>
#include <QCache>
#include <QFile>
#include <QtCore/QtGlobal>
#include <QtCore/QCache>
#include <QtCore/QFile>
#include <string.h>
#include <vector>
#include <QtDebug>
#include <QtCore/QtDebug>
namespace gg {

View File

@ -21,8 +21,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#define IADDRESSLOOKUP_H
#include "utils/coordinates.h"
#include <QtPlugin>
#include <QVector>
#include <QtCore/QtPlugin>
#include <QtCore/QVector>
class IAddressLookup
{

View File

@ -22,8 +22,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "utils/config.h"
#include "utils/coordinates.h"
#include <QtPlugin>
#include <QVector>
#include <QtCore/QtPlugin>
#include <QtCore/QVector>
class IGPSLookup
{

View File

@ -23,8 +23,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "utils/config.h"
#include "utils/coordinates.h"
#include "interfaces/igpslookup.h"
#include <QtPlugin>
#include <QVector>
#include <QtCore/QtPlugin>
#include <QtCore/QVector>
class IRouter
{

View File

@ -20,7 +20,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef TRIE_H
#define TRIE_H
#include <QString>
#include <QtCore/QString>
#include <vector>
#include "utils/coordinates.h"
#include "utils/bithelpers.h"

View File

@ -23,10 +23,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "unicodetournamenttrieclient.h"
#include "utils/qthelpers.h"
#include <QtDebug>
#include <QtCore/QtDebug>
#include <algorithm>
#ifndef NOGUI
#include <QMessageBox>
#include <QtGui/QMessageBox>
#endif
UnicodeTournamentTrieClient::UnicodeTournamentTrieClient()

View File

@ -20,9 +20,9 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef UNICODETOURNAMENTTRIECLIENT_H
#define UNICODETOURNAMENTTRIECLIENT_H
#include <QObject>
#include <QtPlugin>
#include <QFile>
#include <QtCore/QObject>
#include <QtCore/QtPlugin>
#include <QtCore/QFile>
#include "interfaces/iaddresslookup.h"
#include "trie.h"

View File

@ -22,7 +22,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#include "utils/coordinates.h"
#include <vector>
#include <QMultiHash>
#include <QtCore/QMultiHash>
#include <algorithm>
static uint qHash( const UnsignedCoordinate& key )

View File

@ -20,11 +20,11 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
#ifndef QTHELPERS_H
#define QTHELPERS_H
#include <QFile>
#include <QtDebug>
#include <QDataStream>
#include <QTime>
#include <QDir>
#include <QtCore/QFile>
#include <QtCore/QtDebug>
#include <QtCore/QDataStream>
#include <QtCore/QTime>
#include <QtCore/QDir>
static inline QString fileInDirectory( QString directory, QString filename )
{