{"id":6535,"date":"2019-07-13T00:08:43","date_gmt":"2019-07-13T00:08:43","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=6535"},"modified":"2019-07-13T00:08:44","modified_gmt":"2019-07-13T00:08:44","slug":"beyond-good-ol-run-key-part-110","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2019\/07\/13\/beyond-good-ol-run-key-part-110\/","title":{"rendered":"Beyond good ol\u2019 Run key, Part 110"},"content":{"rendered":"\n<p>This is rather short post and it refers to a <em><a href=\"https:\/\/doc.qt.io\/qt-5\/qt-conf.html\">qt.conf<\/a><\/em> file. If you can find such a file on a system it can be often modified to affect the settings of a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Qt_(software)\">Qt framework<\/a> that is used by some application installed on your system. You may find many occurrences of this file in the environment. Not all the programs respect these settings though.<\/p>\n\n\n\n<p>The change could be redirecting Qt framework to load plugins from a different directory than expected, etc. See the first link that explains the settings stored inside the file.<\/p>\n\n\n\n<p>There are tones of applications leveraging Qt and actually more and more are Enterprise solutions so it&#8217;s a kinda unexpected, but still decent persistence mechanism and due to unpredictability of the <em>qt.conf<\/em> file file location &#8211; kinda stealthy. <\/p>\n\n\n\n<p>How to do &#8216;the bad&#8217; stuff?<\/p>\n\n\n\n<p>This simple config will load plugins from a c:\\test path:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>[Paths]<br> Plugins=c:\\test <\/p><\/blockquote>\n\n\n\n<p>Obviously, real plugins need to be loaded as well so it&#8217;s a bit like a path companion type of persistence that needs some housekeeping to make it work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is rather short post and it refers to a qt.conf file. If you can find such a file on a system it can be often modified to affect the settings of a Qt framework that is used by some &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2019\/07\/13\/beyond-good-ol-run-key-part-110\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,35],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6535"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=6535"}],"version-history":[{"count":4,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6535\/revisions"}],"predecessor-version":[{"id":6546,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6535\/revisions\/6546"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=6535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=6535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=6535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}