D15006: Allow to turn of the QStandardPaths lookups

Christoph Cullmann noreply at phabricator.kde.org
Thu Aug 23 08:52:13 BST 2018


cullmann added a comment.


  > Nice :) One thing that came to mind for static builds is that we probably need to manually initialize the qrc files in Repository, as that doesn't work automatically then. But if you take them out anyway, that's not a problem.
  
  We do that ;=)
  
  static void initResource()
  {
  #ifdef HAS_SYNTAX_RESOURCE
  
    Q_INIT_RESOURCE(syntax_data);
  
  #endif
  
    Q_INIT_RESOURCE(theme_data);
  
  }
  
  e.g. the themes work perfectly fine with static builds.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D15006

To: cullmann, vkrause, dhaumann
Cc: kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180823/b0d7f100/attachment.html>


More information about the KWrite-Devel mailing list