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. no rule to make target Qt-5-12.4/lib/libQt5Quick.a
QtWS25 Last Chance

no rule to make target Qt-5-12.4/lib/libQt5Quick.a

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 1.1k Views
  • 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.
  • S Offline
    S Offline
    SherifOmran
    wrote on last edited by
    #1

    I compiled qt static using
    ..\configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests
    for testing purposes, and then created a simple Qml standard file.
    When i try to compile it with this static version, it through no rule to make target C:/Qt/Qt-5.12.4/lib/libQt5Quick.a
    when i search for this file, i don't find it.
    What i am doing wrong?

    Note: If i compile with 5.13 which is dll linked, it works fine.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fatimanaqvi
      wrote on last edited by
      #2

      you need to check if all the modules are installed in built folder or not. can you show me your make file please?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SherifOmran
        wrote on last edited by
        #3

        I have started a new compile but still waiting till if finishes and i dont know if i get the same issue
        my new make file is here

        1 Reply Last reply
        0
        • I Offline
          I Offline
          Izza
          wrote on last edited by Izza
          #4

          Can you tell for what platform you are building it from source?

          also show me you /usr/local/qt5.12.4/lib folder contents.
          Does it has libQt5Quick.a

          try to use these commands:
          ./init-repository -f --module-subset=qtbase,qtdeclarative,qtwebsockets,qtsvg,qtquickcontrols,qtquickcontrols2,qtgraphicaleffects

          ./configure -opensource -confirm-license -xplatform wasm-emscripten -release -static -no-feature-thread -nomake examples -no-dbus -no-ssl -no-qml-debug

          make

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SherifOmran
            wrote on last edited by
            #5

            I have found a solution for this, i used -make tools -make libs in the configure command and it was solved.
            However i have another issue with openssl, i compiled static and now i can not link against the static library

            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