Forum

QT: positioning loc...
 
Bildirimler
Hepsini Temizle

QT: positioning location hatası

3 Yazılar
2 Üyeler
0 Likes
747 Görüntüleme
(@muratguler)
Gönderiler: 313
Honorable Member
Konu başlatıcı
 

Merhaba 

Raspberryde ubuntu qt creatordaki harita uygulamasını çalıştırmayı denediğim de "Project ERROR: Unknown module(s) in QT: positioning location" hatası ile karşılaşıyorum. 

Proje içerisindeki 

import QtLocation 5.6 üzerine geldiğim zaman

QML module not found ( QtLocation )

Import paths:
/opt/qtrpi/raspi/qt5pi/qml

For qmake projects, use the QML_IMPORT_PATH variable to add import paths
For Qbs projects, declare and set a qmlImportPaths property in your product to add import paths
For qmlproject projects, use the importPaths property to add import paths
For cmake projects, make sure QML_IMPORT_PATH variable is in CMakeCache.txt




import QtPositioning 5.5 üzerine geldiğim zamanda

QML module not found ( QtPositioning ). Import paths:/opt/qtrpi/raspi/qt5pi/qml For qmake projects,
use the QML_IMPORT_PATH variable to add import paths. For Qbs projects, declare and set
a qmlImportPaths property in your product to add import paths. For qmlproject projects,
use the importPaths property to add import paths. For cmake projects, make sure QML_IMPORT_PATH variable
is in CMakeCache.txt

The QtPositioning global object provides useful functions for working with location-based types in QML

hatası ile karşılaşıyorum.

Bunları nasıl çözebilirim.

Teşekkürler.


 

 
Gönderildi : 10/01/2018 11:47

(@anilalan)
Gönderiler: 12
Active Member
 

.pro dosyasına herhangi bir ekleme yaptınız mı?

 
Gönderildi : 10/01/2018 18:44

(@muratguler)
Gönderiler: 313
Honorable Member
Konu başlatıcı
 

evet pro dosyasında gerekli komutlar var. Bilgisayar da çalışıyor zaten. Ama raspberry de çalışmıyor.

Raspberry de çalışmamasının nedenini de buldum aslında. QtPositioning ve  QtLocation yüklenmiyor. Bunu yükleyebilsem sorunu aşacağım da bazı yüklemeler de yapmama rağmen hala çözemedim. Yardımcı olursanız sevinirim

 Ubuntudan raspberry üzerinde çalıştırmayı deneyince hata vermesinin nedeni  http://www.qtrpi.com/home  diye bir sayfa var. Buradaki komutları yükledim.. Raspberry üzerinde çapraz derleme yapıyordum. Fakat işte bu position ve location kütüphaneleri eklemediğinden dolayı hata veriyor. Bunları ubuntu da eklemeyi bilmiyorum. 

 
Gönderildi : 10/01/2018 19:18

Paylaş: