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. How to make the .cfg file not into the binary file when compile?
Forum Updated to NodeBB v4.3 + New Features

How to make the .cfg file not into the binary file when compile?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 131 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.
  • P Offline
    P Offline
    Puzzlesaur
    wrote on 29 Jun 2021, 08:08 last edited by
    #1

    I don't know how to descripe the question more accurate.
    Here is the what I want to do:
    There is a .cfg file in my project, and I use qt creator to develop this project.
    I create a cfg file to be a onfiguration file which includes some title texts configration.
    I want to edit this file to change the title after the binary file installed into another machine.
    but when i run qmake and make, i can't find the cfg file in the compile output path.

    How can i do to get the cfg file out of the binary file ?

    J 1 Reply Last reply 29 Jun 2021, 08:20
    0
    • P Puzzlesaur
      29 Jun 2021, 08:08

      I don't know how to descripe the question more accurate.
      Here is the what I want to do:
      There is a .cfg file in my project, and I use qt creator to develop this project.
      I create a cfg file to be a onfiguration file which includes some title texts configration.
      I want to edit this file to change the title after the binary file installed into another machine.
      but when i run qmake and make, i can't find the cfg file in the compile output path.

      How can i do to get the cfg file out of the binary file ?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 29 Jun 2021, 08:20 last edited by
      #2

      @Puzzlesaur Take a look at https://doc.qt.io/qt-5/qmake-advanced-usage.html "Installing Files"

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

      1 Reply Last reply
      2

      1/2

      29 Jun 2021, 08:08

      • Login

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