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. setup qt creator run environment on linux before debugging

setup qt creator run environment on linux before debugging

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

    I have a FEDORA cmake project. I need to run two scripts to setup environment:
    $ source setup-environment.sh
    $ install-services.sh
    before running application.
    Qt Creator 3.4.0 QT 5.5.0

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      For the environment, you can set it up in the Run part of the Project panel.

      What does install-services.sh do ?

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

      Y 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        For the environment, you can set it up in the Run part of the Project panel.

        What does install-services.sh do ?

        Y Offline
        Y Offline
        yevg
        wrote on last edited by
        #3

        @SGaist
        It doesn't matter what these two scripts do. They can be changed.
        I need to run them before I start debugging. They make sure that all required services are activated and PATH is updated. I think about putting them in .bashrc. Do you know what .bashrc is running in debug shell? Is it my (user who is debugging) environment?
        Thanks.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Debug shell ? What do you mean by that ?

          When you open a new shell, the .bashrc or .profile file is loaded

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

          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