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. [Solved] Compile only specific library from Qt source code
Forum Updated to NodeBB v4.3 + New Features

[Solved] Compile only specific library from Qt source code

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 4.3k 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.
  • D Offline
    D Offline
    dasun
    wrote on last edited by
    #1

    I'm trying to solve some keyboard input related bug. (since my Qt bug report has no response even after 3 months.) I think I found the buggy code in /gui/kernel/qkeymapper_win.cpp. but I can't compile whole framework to just for testing one little code line. Anyway, What I need to do is compile only one library for testing (more specifically the Qt GUI module)

    How can I do this? How to create qt framework testing & development environment?

    1 Reply Last reply
    1
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can compile single modules (like qtbase, which contains QtGui) by simply cd-ing into that module's directory and running make. Additionally, make is smart enough that it will not recompile files that are already compiled: so you need to wait a lot only once (during first compilation), but then when you update your source file, only that single file will be compiled again.

      Hope it helps :)

      (Z(:^

      1 Reply Last reply
      1
      • D Offline
        D Offline
        dasun
        wrote on last edited by
        #3

        Thank you sierdzio. You have enlightened me as you always does :)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Haha, thank you :)

          (Z(:^

          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