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. Path - what is the difference between :/ and ./
QtWS25 Last Chance

Path - what is the difference between :/ and ./

Scheduled Pinned Locked Moved General and Desktop
path
2 Posts 2 Posters 968 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.
  • C Offline
    C Offline
    Carsten Hansen
    wrote on 17 Mar 2015, 14:34 last edited by
    #1

    E.g. see:
    C:\Qt\Examples\Qt-5.4\widgets\desktop\systray\window.cpp

    uses
    iconComboBox->addItem(QIcon("**:/**images/bad.png"), tr("Bad"));

    I know ./ but what does :/ mean?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JKSH
      Moderators
      wrote on 17 Mar 2015, 14:46 last edited by
      #2

      @Carsten-Hansen ":/" is the root path of the Qt Resource System.

      Resource files are built into your .exe, so you don't need to supply the individual files.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      1/2

      17 Mar 2015, 14:34

      • 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