mirror of
git://projects.qi-hardware.com/nanomap.git
synced 2025-04-13 05:47:26 +03:00
Revert "first try to fix building with OpenWRT toolchain that does not include QtCore and QtGui in the include path"
This reverts commit da88ec21cdbda458d04368292008126c3ebe5715. This was not the right solution
This commit is contained in:
parent
88239a2deb
commit
f1a2430393
@ -24,7 +24,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <QtCore/QHash>
|
#include <QHash>
|
||||||
|
|
||||||
template< typename NodeID, typename Key >
|
template< typename NodeID, typename Key >
|
||||||
class ArrayStorage {
|
class ArrayStorage {
|
||||||
|
@ -20,10 +20,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef BLOCKCACHE_H_INCLUDED
|
#ifndef BLOCKCACHE_H_INCLUDED
|
||||||
#define BLOCKCACHE_H_INCLUDED
|
#define BLOCKCACHE_H_INCLUDED
|
||||||
|
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include <QtCore/QHash>
|
#include <QHash>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
// Block must have member function / variables:
|
// Block must have member function / variables:
|
||||||
// variable id => block id
|
// variable id => block id
|
||||||
|
@ -24,8 +24,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include "utils/bithelpers.h"
|
#include "utils/bithelpers.h"
|
||||||
#include "blockcache.h"
|
#include "blockcache.h"
|
||||||
#include <QtCore/QString>
|
#include <QString>
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -22,10 +22,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include "contractionhierarchiesclient.h"
|
#include "contractionhierarchiesclient.h"
|
||||||
#include "utils/qthelpers.h"
|
#include "utils/qthelpers.h"
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#ifndef NOGUI
|
#ifndef NOGUI
|
||||||
#include <QtGui/QMessageBox>
|
#include <QMessageBox>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ContractionHierarchiesClient::ContractionHierarchiesClient()
|
ContractionHierarchiesClient::ContractionHierarchiesClient()
|
||||||
|
@ -20,8 +20,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef CONTRACTIONHIERARCHIESCLIENT_H
|
#ifndef CONTRACTIONHIERARCHIESCLIENT_H
|
||||||
#define CONTRACTIONHIERARCHIESCLIENT_H
|
#define CONTRACTIONHIERARCHIESCLIENT_H
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QObject>
|
||||||
#include <QtCore/QStringList>
|
#include <QStringList>
|
||||||
#include "interfaces/irouter.h"
|
#include "interfaces/irouter.h"
|
||||||
#include "binaryheap.h"
|
#include "binaryheap.h"
|
||||||
#include "compressedgraph.h"
|
#include "compressedgraph.h"
|
||||||
|
@ -18,14 +18,14 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "gpsgridclient.h"
|
#include "gpsgridclient.h"
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
#include <QtCore/QHash>
|
#include <QHash>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "utils/qthelpers.h"
|
#include "utils/qthelpers.h"
|
||||||
#ifndef NOGUI
|
#ifndef NOGUI
|
||||||
#include <QtGui/QInputDialog>
|
#include <QInputDialog>
|
||||||
#endif
|
#endif
|
||||||
#include <QtCore/QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
GPSGridClient::GPSGridClient()
|
GPSGridClient::GPSGridClient()
|
||||||
{
|
{
|
||||||
|
@ -20,12 +20,12 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef GPSGRIDCLIENT_H
|
#ifndef GPSGRIDCLIENT_H
|
||||||
#define GPSGRIDCLIENT_H
|
#define GPSGRIDCLIENT_H
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QObject>
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include "interfaces/igpslookup.h"
|
#include "interfaces/igpslookup.h"
|
||||||
#include "cell.h"
|
#include "cell.h"
|
||||||
#include "table.h"
|
#include "table.h"
|
||||||
#include <QtCore/QCache>
|
#include <QCache>
|
||||||
|
|
||||||
class GPSGridClient : public QObject, public IGPSLookup
|
class GPSGridClient : public QObject, public IGPSLookup
|
||||||
{
|
{
|
||||||
|
@ -20,12 +20,12 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef TABLE_H
|
#ifndef TABLE_H
|
||||||
#define TABLE_H
|
#define TABLE_H
|
||||||
|
|
||||||
#include <QtCore/QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QtCore/QCache>
|
#include <QCache>
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
|
|
||||||
namespace gg {
|
namespace gg {
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define IADDRESSLOOKUP_H
|
#define IADDRESSLOOKUP_H
|
||||||
|
|
||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include <QtCore/QtPlugin>
|
#include <QtPlugin>
|
||||||
#include <QtCore/QVector>
|
#include <QVector>
|
||||||
|
|
||||||
class IAddressLookup
|
class IAddressLookup
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include "utils/config.h"
|
#include "utils/config.h"
|
||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include <QtCore/QtPlugin>
|
#include <QtPlugin>
|
||||||
#include <QtCore/QVector>
|
#include <QVector>
|
||||||
|
|
||||||
class IGPSLookup
|
class IGPSLookup
|
||||||
{
|
{
|
||||||
|
@ -23,8 +23,8 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "utils/config.h"
|
#include "utils/config.h"
|
||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include "interfaces/igpslookup.h"
|
#include "interfaces/igpslookup.h"
|
||||||
#include <QtCore/QtPlugin>
|
#include <QtPlugin>
|
||||||
#include <QtCore/QVector>
|
#include <QVector>
|
||||||
|
|
||||||
class IRouter
|
class IRouter
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef TRIE_H
|
#ifndef TRIE_H
|
||||||
#define TRIE_H
|
#define TRIE_H
|
||||||
|
|
||||||
#include <QtCore/QString>
|
#include <QString>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include "utils/bithelpers.h"
|
#include "utils/bithelpers.h"
|
||||||
|
@ -23,10 +23,10 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include "unicodetournamenttrieclient.h"
|
#include "unicodetournamenttrieclient.h"
|
||||||
#include "utils/qthelpers.h"
|
#include "utils/qthelpers.h"
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#ifndef NOGUI
|
#ifndef NOGUI
|
||||||
#include <QtGui/QMessageBox>
|
#include <QMessageBox>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
UnicodeTournamentTrieClient::UnicodeTournamentTrieClient()
|
UnicodeTournamentTrieClient::UnicodeTournamentTrieClient()
|
||||||
|
@ -20,9 +20,9 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef UNICODETOURNAMENTTRIECLIENT_H
|
#ifndef UNICODETOURNAMENTTRIECLIENT_H
|
||||||
#define UNICODETOURNAMENTTRIECLIENT_H
|
#define UNICODETOURNAMENTTRIECLIENT_H
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QObject>
|
||||||
#include <QtCore/QtPlugin>
|
#include <QtPlugin>
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include "interfaces/iaddresslookup.h"
|
#include "interfaces/iaddresslookup.h"
|
||||||
#include "trie.h"
|
#include "trie.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#include "utils/coordinates.h"
|
#include "utils/coordinates.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <QtCore/QMultiHash>
|
#include <QMultiHash>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
static uint qHash( const UnsignedCoordinate& key )
|
static uint qHash( const UnsignedCoordinate& key )
|
||||||
|
@ -20,11 +20,11 @@ along with MoNav. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#ifndef QTHELPERS_H
|
#ifndef QTHELPERS_H
|
||||||
#define QTHELPERS_H
|
#define QTHELPERS_H
|
||||||
|
|
||||||
#include <QtCore/QFile>
|
#include <QFile>
|
||||||
#include <QtCore/QtDebug>
|
#include <QtDebug>
|
||||||
#include <QtCore/QDataStream>
|
#include <QDataStream>
|
||||||
#include <QtCore/QTime>
|
#include <QTime>
|
||||||
#include <QtCore/QDir>
|
#include <QDir>
|
||||||
|
|
||||||
static inline QString fileInDirectory( QString directory, QString filename )
|
static inline QString fileInDirectory( QString directory, QString filename )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user