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 won't build using the costume version
Qt 6.11 is out! See what's new in the release blog

Qt won't build using the costume version

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.0k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I installed qt5 using the .run file I downloaded. Now since I want to develope a static apps I downloaded qt 4.8 source files and installed it using these commands:

    @
    ./configure -static -prefix /usr/local/Trolltech/Qt-4.2.2_static
    make
    sudo make install
    @

    Then I opend qt and went to tools->options->build &run->qt version and added the qmake file of the new version which was in /usr/local/Trolltech/Qt-4.2.2_static/bin/qmake
    But when I create a new project I don't get the option to build it with this version. what should I do to build my project with this version?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on last edited by
      #2

      If you are using creator, you can set it here : Tools->Options->Build&Run


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        I have added the qmake file from there. I had said that in my question. But is there anything else I should do ? Can you be more specific?

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

          Hi and welcome to devnet,

          Did you also setup a Kit using this version of Qt

          On a side note, why install a 4.8 build in a folder named 4.2.2 ?

          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
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Thank you and it worked thanks.
            I copy and pasted the commands and didn't notice that theversion numberwas wrong. oops!

            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