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 151 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 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 ?

    jsulmJ 1 Reply Last reply
    0
    • P Puzzlesaur

      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 ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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

      • Login

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