Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9142701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:50:34+00:00 2026-06-17T09:50:34+00:00

How to get absolute path of current active project opened in qtCreator? Is there

  • 0

How to get absolute path of current active project opened in qtCreator? Is there a way to do it anyway?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:50:35+00:00Added an answer on June 17, 2026 at 9:50 am

    Qt only has support for QDir::currentPath which will point to where the executable is, as far as I’m aware it’s got no hooks to be able to get information from Qt Creator. If your executable is being built in the same directory the project lives in currentPath() will return it.

    EDIT: I’ll leave the part where I’m an idiot. Qt Creator has a set of API docs that point to Core::FileManager:: and another for Utils. There’s a number of functions in there for returning projects directory, what the current open file is, where it is and so on. There’s no explicit ‘what is the current absolute path’ as far as a quick scan goes, but there’s probably a way to query what’s currently open. The API docs are here: http://doc.qt.digia.com/qtcreator-extending/qtcreator-api.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to programmatically get absolute path of executable. During execution of
I want to get the absolute folder path of current running Extendscript. i.e __DIR__
So, an absolute path is a way to get to a certain file or
in file.php : call()... How to get absolute path of file.php inside call() ?
How can I get the full/absolute URL (e.g. https://example.com/some/path ) in Django without the
How do you get the absolute value of a number in vb.net? Is there
How can I get an absolute path of a directory containing a file specified:
I need to get an absolute path from a relative path, but using a
I need to get an absolute file path into the native AIR browser. I've
Possible Duplicate: Is there a way to get the git root directory in one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.