Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Qt5.5.1 tslib compile failing

Qt5.5.1 tslib compile failing

Scheduled Pinned Locked Moved Unsolved QtonPi
1 Posts 1 Posters 969 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    johnc
    wrote on last edited by
    #1

    Re: QT5 - TSLIB plugin compilation
    I am trying to compile as detailed in the referenced post

    "just go to the qtbase/src/plugins/generic/tslib/ folder and call qmake + make/make install"

    The compiling is failing

    pi@clockpi:~/qt-everywhere-opensource-src-5.5.1/qtbase/src/plugins/generic/tslib $ make
    rm -f libqtslibplugin.so
    /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -mfloat-abi=hard -Wl,--no-undefined -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-rpath,/opt/Qt5.5.1/lib -shared -o libqtslibplugin.so .obj/main.o  -lts -L/opt/Qt5.5.1/lib -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus -lgthread-2.0 -pthread -lglib-2.0 -ludev -lmtdev -lEGL -L/opt/vc/lib -lQt5Gui -lQt5Core -lGLESv2 -lpthread
    .obj/main.o:main.cpp:function QTsLibPlugin::create(QString const&, QString const&): error: undefined reference to 'QTsLibMouseHandler::QTsLibMouseHandler(QString const&, QString const&, QObject*)'
    collect2: error: ld returned 1 exit status
    Makefile:129: recipe for target '../../../../plugins/generic/libqtslibplugin.so' failed
    make: *** [../../../../plugins/generic/libqtslibplugin.so] Error 1
    

    Does anyone know how I can fix this?
    I have tried looking for the QTsLibMouseHandler to include it in the makefile but I have had no luck.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved