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. Building Qt from source question

Building Qt from source question

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 197 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.
  • Tom assoT Offline
    Tom assoT Offline
    Tom asso
    wrote on last edited by Tom asso
    #1

    I’ve downloaded the offline installer qt-opensource-linux-x64-5.14.2.run file onto my ubuntu 18.04 system. Running that .run file seems to build all of the Qt libraries. Now I want to modify source files in 5.14.2/Src/qtdatavis3d/src/datavisualization/engine. How exactly do I rebuild just the appropriate libraries affected by the change? Do I run qmake or make in a particular directory? I am trying to follow instructions on the Qt for Linux/X11 - Building from Source page, but those don't seem to apply to my system. E.g. that page refers to a configure file at the top level of the distribution, which doesn't exist on my system. Is there a guide specifically describing how to modify source from the offline installer?

    Thanks!

    Tom assoT 1 Reply Last reply
    0
    • Tom assoT Tom asso

      I’ve downloaded the offline installer qt-opensource-linux-x64-5.14.2.run file onto my ubuntu 18.04 system. Running that .run file seems to build all of the Qt libraries. Now I want to modify source files in 5.14.2/Src/qtdatavis3d/src/datavisualization/engine. How exactly do I rebuild just the appropriate libraries affected by the change? Do I run qmake or make in a particular directory? I am trying to follow instructions on the Qt for Linux/X11 - Building from Source page, but those don't seem to apply to my system. E.g. that page refers to a configure file at the top level of the distribution, which doesn't exist on my system. Is there a guide specifically describing how to modify source from the offline installer?

      Thanks!

      Tom assoT Offline
      Tom assoT Offline
      Tom asso
      wrote on last edited by Tom asso
      #2

      I located 5.14.2/Src/qtdatavis3d/qtdatavis3d.pro. I ran qmake in this directory, which generates a Makefile. Then when I modify sources in this directory, it properly rebuilds the affected libraries in 5.14.2/Src/qtdatavis3d/lib. But my application project's Makefile (also generated from the project's .pro file with qmake) look for libraries in /5.14.2/gcc_64/lib. I then run 'make install' and the libraries are properly copied to the /5.14.2/gcc_64/lib. Problem solved.

      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