<div dir="auto"><div>Did I miss something? Has PowerSDR switched to C++?<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Hermann DL3HVH</div><div dir="auto"><br><br><div data-smartmail="gmail_signature" dir="auto">Sent from my Google Pixel</div></div><br><div class="gmail_extra"><br><div class="gmail_quote">Am 27.06.2017 4:41 nachm. schrieb "W2GPS" <<a href="mailto:w2gps@cnssys.com">w2gps@cnssys.com</a>>:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">***** High Performance Software Defined Radio Discussion List *****<br>
<br>
</div>Brian,<br>
<br>
I had the same problem. This applies to all high-resolution displays,<br>
including Mac Retina, 4K-UHD, True-4K, 8K-UHD, and True-8K. As the very<br>
first command in the main.cpp file, enter this:<br>
<br>
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))<br>
    // see <a href="https://doc-snapshots.qt.io/qt5-5.9/highdpi.html" rel="noreferrer" target="_blank">https://doc-snapshots.qt.io/<wbr>qt5-5.9/highdpi.html</a><br>
    qputenv("QT_AUTO_SCREEN_SCALE_<wbr>FACTOR", "1");<br>
#else<br>
     // see <a href="http://doc.qt.io/qt-5/highdpi.html" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/highdpi.<wbr>html</a><br>
     qputenv("QT_DEVICE_PIXEL_<wbr>RATIO", "auto");<br>
#endif<br>
<br>
I am converting a very large program to Qt 5.9 and it begins very simply<br>
with the routine:<br>
<br>
#include "MainWindow.h"<br>
#include <QApplication><br>
<br>
int main(int argc, char *argv[])<br>
{<br>
    qputenv("QT_AUTO_SCREEN_SCALE_<wbr>FACTOR", "1");<br>
    QApplication a(argc, argv);<br>
    MainWindow w;<br>
    w.show();<br>
    return a.exec();<br>
}<br>
<br>
Rick<br>
W2GPS<br>
<div class="elided-text"><br>
-----Original Message-----<br>
From: Hpsdr [mailto:<a href="mailto:hpsdr-bounces@lists.openhpsdr.org">hpsdr-bounces@lists.<wbr>openhpsdr.org</a>] On Behalf Of Brian D.<br>
Comer<br>
Sent: June 27, 2017 10:08 AM<br>
To: <a href="mailto:hpsdr@lists.openhpsdr.org">hpsdr@lists.openhpsdr.org</a><br>
Subject: [hpsdr] powerSDR and High resolution<br>
<br>
***** High Performance Software Defined Radio Discussion List *****<br>
<br>
</div>What do I need to do to get powerSDR to run on a high resolution display.<br>
Both HPSDR and flex fail to give a readable display.<br>
<br>
I note in some Qt references it implies that the later versions will work<br>
with HRDs. Do I need to recompile with a later version of Qt?<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
HPSDR Discussion List<br>
To post msg: <a href="mailto:hpsdr@openhpsdr.org">hpsdr@openhpsdr.org</a><br>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/<wbr>listinfo.cgi/hpsdr-openhpsdr.<wbr>org</a><br>
HPSDR web page: <a href="http://openhpsdr.org" rel="noreferrer" target="_blank">http://openhpsdr.org</a><br>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" rel="noreferrer" target="_blank">http://lists.openhpsdr.org/<wbr>pipermail/hpsdr-openhpsdr.org/</a><br>
</blockquote></div><br></div></div></div>