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. Configure command ends with 'ERROR: Unknown command line option ...'
Forum Updated to NodeBB v4.3 + New Features

Configure command ends with 'ERROR: Unknown command line option ...'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 1.4k Views 2 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.
  • D Offline
    D Offline
    dwolf
    wrote on 11 May 2021, 09:03 last edited by
    #1

    If I run the configure command without any options it works fine. But if I try to run it with any option it ends with the line "ERROR: Unknown command line option (...)".

    I downloaded the 5.15.x source packages from https://www.qt.io/offline-installers
    and copied it to ~/Qt/5.15.2/Src/

    Now I try to run the command in the following way:

    ./configure -prefix /opt/qt_5
    

    This command ends like this:

    + cd qtbase
    + /home/amt/Qt/5.15.2/Src/qtbase/configure -top-level -prefix /opt/qt_5/
    Creating qmake...
    ...............................................................................................Done.
    Info: creating super cache file /home/amt/Qt/5.15.2/Src/.qmake.super
    Info: creating cache file /home/amt/Qt/5.15.2/Src/.qmake.cache
    ERROR: Unknown command line option '-prefix'.
    

    'prefix' is just an example. I've tried several other options and they all show the same behavior.

    What I'm doing wrong?

    My main goal is cross compile to a 'arm i.MX8M'

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 May 2021, 19:37 last edited by
      #2

      Hi and welcome to devnet,

      Might be a silly question but did you download the zip or tar.xz archive ?

      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

      1/2

      11 May 2021, 09:03

      • Login

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