Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project ERROR: This module does not accept configure command line arguments.
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: This module does not accept configure command line arguments.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 187 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.
  • K Offline
    K Offline
    kashifh
    wrote on 24 Jan 2024, 10:12 last edited by kashifh
    #1

    Hi, I am trying to build qt-5.15.11on macOS11, but I'm getting below error while configuration:
    Project ERROR: This module does not accept configure command line arguments.
    Here are the QT build files I am setting in my Makefile:
    QT_BUILD_FILES =
    "${QTSRCFILE}/configure"
    "${QTSRCFILE}/qt.pro"
    "${QTSRCFILE}/qtbase"
    "${QTSRCFILE}/qttools"
    "${QTSRCFILE}/qttranslations"
    "${QTSRCFILE}/qtdeclarative"
    "${QTSRCFILE}/qtwebchannel"
    "${QTSRCFILE}/qtwebengine"

    Her is how I'm setting the config and output before I get the PROJECT ERROR:
    /home/Qt/5.15.11/x86_64/src/configure -v -prefix /home/Qt/5.15.11/x86_64/out -platform macx-clang -openssl-linked -I/home/openssl//openssl-1.1.1-x86_64-shared/include -L/home/openssl//openssl-1.1.1-x86_64-shared/lib_x86_64 -release -opensource -confirm-license -nomake tests -nomake examples -no-icu -no-cups -no-pch -no-eglfs -no-directfb -no-linuxfb -no-kms -no-mtdev -no-harfbuzz -no-sql-mysql -qt-libjpeg --force-pkg-config

    cd qtbase
    /home/Qt/5.15.11/x86_64/src/qtbase/configure -top-level -v -prefix /home/Qt/5.15.11/x86_64/out -platform macx-clang -openssl-linked -I/home/openssl//openssl-1.1.1-x86_64-shared/include -L/home/openssl//openssl-1.1.1-x86_64-shared/lib_x86_64 -release -opensource -confirm-license -nomake tests -nomake examples -no-icu -no-cups -no-pch -no-eglfs -no-directfb -no-linuxfb -no-kms -no-mtdev -no-harfbuzz -no-sql-mysql -qt-libjpeg --force-pkg-config
    Performing shadow build...
    Preparing build tree...
    Creating qmake...
    .......
    .......
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -o "../bin/qmake" main.o meta.o option.o project.o property.o ioutils.o proitems.o qmakebuiltins.o qmakeevaluator.o qmakeglobals.o qmakeparser.o qmakevfs.o pbuilder_pbx.o makefile.o makefiledeps.o metamakefile.o projectgenerator.o unixmake2.o unixmake.o mingw_make.o msbuild_objectmodel.o msvc_nmake.o msvc_objectmodel.o msvc_vcproj.o msvc_vcxproj.o winmakefile.o xmloutput.o qutfcodec.o qendian.o qglobal.o qlogging.o qmalloc.o qnumeric.o qoperatingsystemversion.o qrandom.o qabstractfileengine.o qbuffer.o qdatastream.o qdebug.o qdir.o qdiriterator.o qfile.o qfiledevice.o qfileinfo.o qfilesystemengine.o qfilesystementry.o qfsfileengine.o qfsfileengine_iterator.o qiodevice.o qsettings.o qtemporaryfile.o qtextstream.o qcborstreamwriter.o qcborvalue.o qjsoncbor.o qjsonarray.o qjsondocument.o qjsonobject.o qjsonparser.o qjsonvalue.o qmetatype.o qsystemerror.o qvariant.o quuid.o qarraydata.o qbitarray.o qbytearray.o qbytearraylist.o qbytearraymatcher.o qcalendar.o qgregoriancalendar.o qromancalendar.o qcryptographichash.o qdatetime.o qhash.o qlist.o qlocale.o qlocale_tools.o qmap.o qregexp.o qringbuffer.o qstringbuilder.o qstring.o qstringlist.o qversionnumber.o qvsnprintf.o qxmlstream.o qxmlutils.o qcore_unix.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o qsettings_mac.o qcore_mac.o qoperatingsystemversion_darwin.o qcore_foundation.o qlibraryinfo.o -framework Foundation -framework CoreServices -framework ApplicationServices -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk -mmacosx-version-min=10.13 -Wl,-dead_strip
    Info: creating super cache file /home/Qt/5.15.11/x86_64/tmp/.qmake.super
    Info: creating cache file /home/Qt/5.15.11/x86_64/tmp/.qmake.cache
    Project ERROR: This module does not accept configure command line arguments.
    make: *** [configure] Error 3

    Is there anything I am missing? Any help/pointers will be highly appriciated.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Jan 2024, 20:50 last edited by
      #2

      Hi and welcome to devnet,

      From the looks of it, I think it's thé -I and -L arguments that are wrong. If memory serves well, there's a space unlike when you pass them to the compiler.

      That said, why use OpenSSL ? macOS provides their implemention of secure transport.

      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
      1

      1/2

      24 Jan 2024, 10:12

      • 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