[hpsdr] powerSDR and High resolution
Hermann
hvh.net at gmail.com
Tue Jun 27 08:51:17 PDT 2017
Did I miss something? Has PowerSDR switched to C++?
Hermann DL3HVH
Sent from my Google Pixel
Am 27.06.2017 4:41 nachm. schrieb "W2GPS" <w2gps at cnssys.com>:
***** High Performance Software Defined Radio Discussion List *****
Brian,
I had the same problem. This applies to all high-resolution displays,
including Mac Retina, 4K-UHD, True-4K, 8K-UHD, and True-8K. As the very
first command in the main.cpp file, enter this:
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
// see https://doc-snapshots.qt.io/qt5-5.9/highdpi.html
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
#else
// see http://doc.qt.io/qt-5/highdpi.html
qputenv("QT_DEVICE_PIXEL_RATIO", "auto");
#endif
I am converting a very large program to Qt 5.9 and it begins very simply
with the routine:
#include "MainWindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
Rick
W2GPS
-----Original Message-----
From: Hpsdr [mailto:hpsdr-bounces at lists.openhpsdr.org] On Behalf Of Brian D.
Comer
Sent: June 27, 2017 10:08 AM
To: hpsdr at lists.openhpsdr.org
Subject: [hpsdr] powerSDR and High resolution
***** High Performance Software Defined Radio Discussion List *****
What do I need to do to get powerSDR to run on a high resolution display.
Both HPSDR and flex fail to give a readable display.
I note in some Qt references it implies that the later versions will work
with HRDs. Do I need to recompile with a later version of Qt?
_______________________________________________
HPSDR Discussion List
To post msg: hpsdr at openhpsdr.org
Subscription help: http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.
org
HPSDR web page: http://openhpsdr.org
Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20170627/117e95ae/attachment.htm>
More information about the Hpsdr
mailing list