[KDE/Mac] Thoughts on standard directories in Qt5 - QStandardPaths

Marko Käning mk-lists at email.de
Sun Dec 7 15:48:41 UTC 2014


On 07 Dec 2014, at 16:02 , Marko Käning <mk-lists at email.de> wrote:

> as I have written earlier, this file type is a problem, as I see only now:
> ---
> $ /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/bin/qtpaths --paths ApplicationsLocation
> Unknown location: ApplicationsLocation
> ---
> which is caused by me leaving the relevant code portion mentioned earlier already
> out of my patch.
> 
> Since cmake gets -DCMAKE_INSTALL_BUNDLEDIR="Applications/KF5” on my OSX/CI system, I figure
> that I need to change the QSP patch once more to also supply this file type.

I’ve just tested this on a qt5-mac installation which results in the same output, of course:
---
$ qtpaths --paths ApplicationsLocation
Unknown location: ApplicationsLocation

$ qtdiag
Qt 5.3.2 (Nov  8 2014, Clang 5.1 (clang-503.0.40) (Apple), 64 bit, release build) on "cocoa" little endian/
Mac OS version: 0xb

Library info:
  PrefixPath: /opt/local
  DocumentationPath: /opt/local/share/doc/qt5
  HeadersPath: /opt/local/include
  LibrariesPath: /opt/local/Library/Frameworks
  LibraryExecutablesPath: /opt/local/libexec
  BinariesPath: /opt/local/bin
  PluginsPath: /opt/local/share/qt5/plugins
  ImportsPath: /opt/local/share/qt5/imports
  Qml2ImportsPath: /opt/local/share/qt5/qml
  ArchDataPath: /opt/local
  DataPath: /opt/local/share/qt5
  TranslationsPath: /opt/local/share/qt5/translations
  ExamplesPath: /opt/local/share/qt5/examples
  TestsPath: /opt/local/share/qt5/tests

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */Users/marko/Desktop*
  DocumentsLocation: "Documents" */Users/marko/Documents*
  FontsLocation: "Fonts" */System/Library/Fonts*
  ApplicationsLocation: "Applications" */Applications*
  MusicLocation: "Music" */Users/marko/Music*
  MoviesLocation: "Movies" */Users/marko/Movies*
  PicturesLocation: "Pictures" */Users/marko/Pictures*
  TempLocation: "TemporaryItems" */var/folders/xd/_025xt7j6dggsjd0_6tczq180000gn/T*
  HomeLocation: "Home" */Users/marko*
  DataLocation: "Application Support" */Users/marko/Library/Application Support/Qt Project/qtdiag* /Library/Application Support/Qt Project/qtdiag /opt/local/bin/
  CacheLocation: "Caches" */Users/marko/Library/Caches/Qt Project/qtdiag* /Library/Caches/Qt Project/qtdiag
  GenericDataLocation: "Application Support" */Users/marko/Library/Application Support* /Library/Application Support
  RuntimeLocation: "Application Support" */Users/marko/Library/Application Support*
  ConfigLocation: "Preferences" */Users/marko/Library/Preferences*
  DownloadLocation: "Documents" */Users/marko/Documents*
  GenericCacheLocation: "Caches" */Users/marko/Library/Caches* /Library/Caches
  GenericConfigLocation: "Preferences" */Users/marko/Library/Preferences*
---
since it uses the same code like the Qt 5.3.1 currently used on Jenkins master and my OSX/CI system.

So the question is, would KDE/KF5 apps actually make use of this path type and if so for what?

I guess I should direct this question to K-F-D, right?

Greets,
Marko


More information about the kde-mac mailing list