Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. -qt-mouse-tslib: invalid command-line switch when cross-compiling Qt5.3.2
Forum Updated to NodeBB v4.3 + New Features

-qt-mouse-tslib: invalid command-line switch when cross-compiling Qt5.3.2

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 2.4k 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.
  • W Offline
    W Offline
    wakorias
    wrote on last edited by
    #1

    I need to run Qt applications on arm board,and i tried to cross-compile Qt5.3.2 with configure options below:
    ./configure -qt-mouse-tslib -qt-mouse-pc -release -no-opengl -device imx6 -xplatform linux-arm-gnueabi-g++ -optimized-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -no-opengl -no-sse2 -no-openssl -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug-info -prefix /opt/Qt520141010 -no-c++11 -no-pkg-config -v

    and error occuors as:
    -qt-mouse-tslib: invalid command-line switch
    -qt-mouse-pc: invalid command-line switch
    anyone tell me why and how to fix this?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      As silly as it may sound, don't pass that switch. They are Qt 4 configure switches and not part of Qt 5's configure process.

      IIRC -tslib is the switch for Qt 5 and for standard devices, evdev is used.

      You can use configure --help to see what options you have.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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