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. Using Qt without installing

Using Qt without installing

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 867 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.
  • M Offline
    M Offline
    Milosz
    wrote on last edited by
    #1

    Hello everyone,
    I need to develop application with Qt (ver. 4.8.2) but the library is included in the attached directory (not installed in the system). Is it possible to develop such a app. I have problem with CMakeLists.txt, cmake show me the error when I try to do find_package(Qt4 "4.8.2" .... ). Is it possible to ovecome this problem.

    Thanks in advance
    Milosz

    jsulmJ 1 Reply Last reply
    0
    • M Milosz

      Hello everyone,
      I need to develop application with Qt (ver. 4.8.2) but the library is included in the attached directory (not installed in the system). Is it possible to develop such a app. I have problem with CMakeLists.txt, cmake show me the error when I try to do find_package(Qt4 "4.8.2" .... ). Is it possible to ovecome this problem.

      Thanks in advance
      Milosz

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Milosz said in Using Qt without installing:

      Is it possible to ovecome this problem

      If you want to build a Qt application you need to install Qt - how else would it work?
      Do you really want to use Qt 4.8? Did you install it?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Milosz said in Using Qt without installing:

        Is it possible to ovecome this problem

        If you want to build a Qt application you need to install Qt - how else would it work?
        Do you really want to use Qt 4.8? Did you install it?

        M Offline
        M Offline
        Milosz
        wrote on last edited by
        #3

        @jsulm It is the old app which i need to continue. With the project I have all the binaries and includes in the separate directory and I wonder if I can use it in this way

        SGaistS 1 Reply Last reply
        0
        • M Milosz

          @jsulm It is the old app which i need to continue. With the project I have all the binaries and includes in the separate directory and I wonder if I can use it in this way

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Milosz hi,

          No, you can't develop something with just the dependencies of an application.

          You need the headers of the library, depending on your OS, you need import libraries, etc.

          You can still get Qt 4 on Linux for example although you might need an older version of e.g. Debian. It would be the easier way to have the latest Qt 4 to continue maintaining that old application.

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

          M 1 Reply Last reply
          0
          • SGaistS SGaist

            @Milosz hi,

            No, you can't develop something with just the dependencies of an application.

            You need the headers of the library, depending on your OS, you need import libraries, etc.

            You can still get Qt 4 on Linux for example although you might need an older version of e.g. Debian. It would be the easier way to have the latest Qt 4 to continue maintaining that old application.

            M Offline
            M Offline
            Milosz
            wrote on last edited by
            #5

            @SGaist Thanks, a lot for your answer.

            Best
            Milosz

            1 Reply Last reply
            0
            • M Milosz has marked this topic as solved on

            • Login

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