[KDE/Mac] QStandardPaths possible solution

Marko Käning mk-lists at email.de
Fri Jan 9 01:14:17 UTC 2015


On 09 Jan 2015, at 01:52 , René J.V. Bertin <rjvbertin at gmail.com> wrote:

> On Thursday January 08 2015 16:48:46 Jeremy Whiting wrote:
> 
> I just installed my brandspankingnew qt5-mac concurrent alongside my ditto qt4-mac. A priori the QSP patch is included, but qtdiag prints

Cool! :)


BTW, PrefixPath and DataPath show the same path also here on my system. See below.



> I'm tempted to say that the 1st, conditional invocation of xdgDataDirs() should come *before* the call to macLocation(), no?

No, as the first location is the writable one for the user, enclosed by asterisks. See below.



> Also, side-ways related: why does Qt only look in /System/Library/Fonts, and not first in /Library/Fonts as the OS does?

No idea. Good question, I guess!





Well, and if I use XDG_DATA_DIRS=/opt/kde/install I do see that path inserted in (Generic)DataLocation right after the writeable path,
which seems perfectly sane to me:

---

$ XDG_DATA_DIRS=/opt/kde/install /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/bin/qtdiag 
QSslSocket: cannot resolve TLSv1_1_client_method
QSslSocket: cannot resolve TLSv1_2_client_method
QSslSocket: cannot resolve TLSv1_1_server_method
QSslSocket: cannot resolve TLSv1_2_server_method
QSslSocket: cannot resolve SSL_select_next_proto
QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
Qt 5.3.2 (Dec 22 2014, Clang 6.0 (clang-600.0.56) (Apple), 64 bit, debug build) on "cocoa" little endian/
Mac OS version: 0xb

Library info:
  PrefixPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst
  DocumentationPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/doc
  HeadersPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/include
  LibrariesPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/lib
  LibraryExecutablesPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/libexec
  BinariesPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/bin
  PluginsPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/plugins
  ImportsPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/imports
  Qml2ImportsPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/qml
  ArchDataPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst
  DataPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst
  TranslationsPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/translations
  ExamplesPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/examples
  TestsPath: /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/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* /opt/kde/install/Qt Project/qtdiag /opt/kde/install/darwin/mavericks/clang/kf5-qt5/qt5/inst/bin/
  CacheLocation: "Caches" */Users/marko/Library/Caches/Qt Project/qtdiag* /Library/Caches/Qt Project/qtdiag
  GenericDataLocation: "Application Support" */Users/marko/Library/Application Support* /opt/kde/install
  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*

Network:
  Using "OpenSSL 0.9.8za 5 Jun 2014", version: 9470383

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL BufferQueueingOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+2022
  fontSmoothingGamma: 2
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0

Theme:
  Styles: macintosh  System font: ".Lucida Grande UI" 13
  General font : ".Lucida Grande UI" 13
  Fixed font   : "Monaco" 10
  Title font   : ".Lucida Grande UI" 13
  Smallest font: ".Lucida Grande UI" 9
  Native file dialog
  Native color dialog
  Native font dialog

Screens: 1
# 0 "Display" Depth: 24 Primary: yes
  Geometry: 1458x912+0+0 Available: 1458x838+0+22
  Physical size: 514.35x321.733 mm  Refresh: 60 Hz
  Physical DPI: 72,72 Logical DPI: 72,72
  DevicePixelRatio: 1 Primary orientation: 2
  Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: Apple Computer, Inc.
Renderer: Apple Software Renderer
Version: 2.1 APPLE-9.6.1
Shading language: 1.20
Format: Version: 2.1 Profile: 0 Swap behavior: 2 Buffer size (RGB): 8,8,8 Depth buffer: -1 Stencil buffer: -1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150109/2876bd6f/attachment-0001.html>


More information about the kde-mac mailing list