Qtmobility installation problem (/qnetworkconfiguration.h not found)
-
Hello all,
I am trying to install QtMobility, but try as I might I cant get it to work.
When I run nmake I get the following problemc:\qtmobility\src\multimedia\qmediaplayer.h(51) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "QtNetwork/qnetworkconfiguration.h": No such file or directory
qmediaplayercontrol.cpp
c:\qtmobility\src\multimedia\qmediaplayer.h(51) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "QtNetwork/qnetworkconfiguration.h": No such file or directory
qmediaplaylist.cpp
c:\qtmobility\src\multimedia\qmediaplayer.h(51) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "QtNetwork/qnetworkconfiguration.h": No such file or directory
qmediaserviceprovider.cpp
c:\qtmobility\src\multimedia\qmediaplayer.h(51) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "QtNetwork/qnetworkconfiguration.h": No such file or directory
qmedianetworkaccesscontrol.cpp
c:\qtmobility\src\multimedia\qmedianetworkaccesscontrol.h(49) : fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "QtNetwork/qnetworkconfiguration.h": No such file or directoryObviously I looked through my QtNetwork folder and found that the file "qnetworkconfiguration.h" does not exist. I have two version of the Qt framework 4.6.1 and 4.7.1 but none have the file. What I did find out is that in the src folder in QtMobility I find this file, am I supossed to just copy and paste this file inside my QtNetwork folder???
PS:
When I run the configure command it says
Checking available Qt
4.6.1
On my computer I have Qt 4.6.1 and 4.7.1, my PATH has a variable \qt\qt-4.7.1. So I don't understand why it would use Qt 4.6.1. Any ideas?Thanks
-
Did you do this:
bq. To link against the module, add this line to your qmake .pro file:
QT += network