undefined reference error to QsystemstorageInfo
-
error: undefined reference to
QtMobility::QSystemStorageInfo::QSystemStorageInfo(QObject*) error: undefined reference to
QtMobility::QSystemStorageInfo::logicalDrives()' error: undefined reference toQtMobility::QSystemStorageInfo::totalDiskSpace(QString const&)' error: undefined reference to
QtMobility::QSystemStorageInfo::~QSystemStorageInfo()'
error: undefined reference to `QtMobility::QSystemStorageInfo::~QSystemStorageInfo()'
:-1: error: collect2: error: ld returned 1 exit status -
Hi iam using Qt 5.5 on Ubuntu 14.04 OS.
I have installed both QtMobility and QStorageInfo and accessed them by including them in the .pro file as well as i have included them in include paths in the project properties, but still iam not able to access them properly.
And when i saw in the folder QStorageInfo it has only header files, there is no code in them.
Do i need to install anthing?
-
Hi iam using Qt 5.5 on Ubuntu 14.04 OS.
I have installed both QtMobility and QStorageInfo and accessed them by including them in the .pro file as well as i have included them in include paths in the project properties, but still iam not able to access them properly.
And when i saw in the folder QStorageInfo it has only header files, there is no code in them.
Do i need to install anthing?
@Ravimettu Can you show your PRO file? It looks like you don't link against QtMobility libraries.