[Interest] OpenSSL v1.1.0c on Win10 Qt5.5.1

2016-12-15 Thread Jason Kretzer
Hello all, Discovered something odd today and wondered if there is an easy workaround. My application communicates to https urls. To do so, I have always just grabbed the latest version of OpenSSL. Today, I used OpenSSL v1.1.0c. I received the below. [18:17:01]: WARNING: QSslSocket: cannot

Re: [Interest] Odd Proxy Behavior

2016-11-29 Thread Jason Kretzer
:34:32 PST Jason Kretzer wrote: > if(listOfProxies.size() > 0) { > QNetworkProxy::setApplicationProxy(listOfProxies[0]); > } else { > QNetworkProxyFactory::setUseSystemConfiguration(true); > } Why this if? Why not always tell it to use the system configurat

[Interest] Odd Proxy Behavior

2016-11-29 Thread Jason Kretzer
Typically, this code just works. Ever since implementing it, I have had no issues at all when putting a device behind a network proxy — both HttpProxy and HttpCachingProxy. Unfortunately, it is not working for a particular HttpProxy. Here is the code: qDebug() << "Detecting Proxy Settings

[Interest] Qt Webkit on Linux Goes Blank When No Network Connection

2016-08-23 Thread Jason Kretzer
Hello all, I am back with another weird thing. I am using Qt 5.5 on Ubuntu 16.04. I am using the webkit widget to display some html in the application. The html is being served from a local web server on port 8080. The URL has a format like this: http://localhost:8080/SomeDirectory/index.h

[Interest] Utilizing the GPU, how to start?

2016-07-05 Thread Jason Kretzer
How does one get Qt widgets to take advantage of a GPU? If this question seem naïve, it is because it is. With my application, I am displaying different types of media — mp4 (using QMedia Player) Html (folders containing a "mini-site” using QWebView) Images (using a Qlabel) This Qt 5.5, Windows

[Interest] Preventing Multiple Instances of EXE

2016-04-22 Thread Jason Kretzer
Everyone, Anyone know how to prevent multiple instances of an exe to be started? So, I start bob.exe. I then I try to double click and start bob.exe again while the first is still running and a second instance does not start (or at least shuts itself down or does anything other than start ano

[Interest] Throttle downloads

2015-12-29 Thread Jason Kretzer
Hello all, I have an application that must download files in the background. I separate this process off into a separate thread so that it does not interfere with the UI. Unfortunately, when it starts downloading, it uses the full pipe that it has access to and adversely affects the rest of t

Re: [Interest] Qt 5.5 DEB (or other install package) for Ubuntu 14.04 out there?

2015-10-15 Thread Jason Kretzer
correct? If that is not correct, is the above possible? -Jason -Original Message- From: Yuvraaj Kelkar [mailto:yuvr...@gmail.com] Sent: Friday, October 09, 2015 11:18 AM To: Jason Kretzer Cc: interest@qt-project.org Subject: Re: [Interest] Qt 5.5 DEB (or other install package) for Ubuntu

Re: [Interest] Qt 5.5 DEB (or other install package) for Ubuntu 14.04 out there?

2015-10-12 Thread Jason Kretzer
] Sent: Friday, October 09, 2015 11:18 AM To: Jason Kretzer Cc: interest@qt-project.org Subject: Re: [Interest] Qt 5.5 DEB (or other install package) for Ubuntu 14.04 out there? Qt5 libraries do exist on Ubuntu 14.04. If you have built your deb on 14.04, then the debhelper should have put in the

[Interest] Qt 5.5 DEB (or other install package) for Ubuntu 14.04 out there?

2015-10-09 Thread Jason Kretzer
Basic question. I have a Qt 5.5 application that I want to install and run on Ubuntu 14.04. However, the most recent Qt libs are not available in the standard repos. Anyone know where I can obtain such things? My little application is to be distributed as a DEB file but fails on installation

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-17 Thread Jason Kretzer
say -- VS2013 should find this without my entries in the .pro -- but I am not certain HOW. Above is my exact configuration at this point. Thoughts? -Jason -Original Message- From: Sze Howe Koh [mailto:szehowe@gmail.com] Sent: Tuesday, September 15, 2015 7:56 PM To: Jason Kretz

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-15 Thread Jason Kretzer
-Original Message- From: Koehne Kai [mailto:kai.koe...@theqtcompany.com] Sent: Tuesday, September 15, 2015 4:36 AM To: Gunnar Roth; Jason Kretzer Cc: interest@qt-project.org Subject: RE: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors > -Original Mess

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-15 Thread Jason Kretzer
, compile warnings and linking errors On Monday 14 September 2015 08:58:37 Jason Kretzer wrote: > INCLUDEPATH += "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include" > LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" > -ladvapi32 Remove the paths

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Jason Kretzer
My apologies but the answer was a simple one: LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" -ladvapi32 -luser32 I completely forgot to link the user32.lib. -Jason From: Jason Kretzer Sent: Monday, September 14, 2015 11:59 AM To: interest@qt-project.org Subj

[Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Jason Kretzer
I have been searching for an answer to this but no luck as yet. Using Qt5.5 32bit, VS2013 on Win8 64bit My .pro file contains this: INCLUDEPATH += "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include" LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" -ladvapi32 I have c

[Interest] ARMV7l and Intel i5

2015-07-21 Thread Jason Kretzer
I am unclear on this as I have not had to compile for multiple architectures like this. I have a device that is running Ubuntu 12.04 on ARMV7l. The machine that I am using for development is running Ubuntu 12.04 32 bit on an Intel i5 64bit processor. Generally, I have only created a DEB file

[Interest] QtCreator or Other Tools for Memory Interpretation

2015-04-29 Thread Jason Kretzer
Good Day All, I am trying to get better at debugging in QtCreator. I have a number of questions and I was hoping someone could point me in the right direction(Qt5.3.2/Windows/VS2010). In a version of my application, I start it up in debug mode in QtCreator. And most of the time, I get messag

Re: [Interest] sqlite

2015-04-17 Thread Jason Kretzer
I do have to agree with this. I was in a similar situation and had to use sqlite (due to size constraints) as a backend for a php site. The locks make it very problematic for multiple processes to access. -Jason //--// Jason R. Kretzer Lead Application Develo

Re: [Interest] Http Proxy connection woes

2015-04-06 Thread Jason Kretzer
t-project.org>" mailto:interest@qt-project.org>> Subject: Re: [Interest] Http Proxy connection woes On Monday 06 April 2015 07:52:01 Jason Kretzer wrote: bool ServerCommunication::connectToPort(QString server, int port) { QTcpSocket socket; QNetworkProxy proxy = QNetworkProxy::a

Re: [Interest] Http Proxy connection woes

2015-04-06 Thread Jason Kretzer
ct.org>" mailto:interest@qt-project.org>> Subject: Re: [Interest] Http Proxy connection woes On Monday 06 April 2015 07:52:01 Jason Kretzer wrote: bool ServerCommunication::connectToPort(QString server, int port) { QTcpSocket socket; QNetworkProxy proxy = QNetworkProxy::applicationPr

Re: [Interest] Http Proxy connection woes

2015-04-06 Thread Jason Kretzer
; mailto:interest@qt-project.org>> Subject: Re: [Interest] Http Proxy connection woes On Tuesday 24 February 2015 13:24:24 Jason Kretzer wrote: Here is the thing: I have software that is generally “proxy aware.” I have it running behind other proxies and they seem to work. The software

Re: [Interest] WebEngine vs Webkit

2015-03-23 Thread Jason Kretzer
I had not tried it yet. Will have to try it and see what happens. Slightly different question: Can the QtWebEngine make use of the FlashPlayer plugin (Pepper or otherwise)? From: Ian Monroe [mailto:i...@monroe.nu] Sent: Monday, March 23, 2015 1:53 PM To: Jason Kretzer; interest@qt-project.org

[Interest] WebEngine vs Webkit

2015-03-23 Thread Jason Kretzer
Good day everyone! I am looking at converting an application that uses webkit to using the new webengine stuff. I have run into a few things that I was not expecting, including issues with working with setZoomFactor not acting in the exact same way, but I was able to work through that. I was won

Re: [Interest] QProcess to start a process at a higher priority

2015-03-10 Thread Jason Kretzer
Hello again, for that I have something like this (if you have a static number of arguments); Set WshShell = CreateObject("WScript.Shell") WshShell.currentdirectory = "C:\Program Files\your_app_dir" 'wscript.echo WshShell.currentdirectory WshShell.Run chr(34) & "C:\Pr

Re: [Interest] QProcess to start a process at a higher priority

2015-03-10 Thread Jason Kretzer
ateObject("WScript.Shell") WshShell.currentdirectory = "C:\Program Files\your_app_dir" 'wscript.echo WshShell.currentdirectory WshShell.Run chr(34) & "C:\Program Files\ your_app_dir\your_bat.bat" & chr(34) & " " & Wscript.Arguments(0) & " &q

Re: [Interest] QProcess to start a process at a higher priority

2015-03-10 Thread Jason Kretzer
) WshShell.currentdirectory = "C:\Program Files\your_app_dir" 'wscript.echo WshShell.currentdirectory WshShell.Run chr(34) & "C:\Program Files\ your_app_dir\your_bat.bat" & chr(34) & " " & Wscript.Arguments(0) & " " & Wscript.Argu

[Interest] QProcess to start a process at a higher priority

2015-03-08 Thread Jason Kretzer
Hello all, I am tinkering a bit with QProcess on Windows7. What I would like to be able to do is to start a process with a “high” priority. My application spawns multiple processes and I am tinkering with them in order to help ensure they get their processor time. On the command line, I woul

Re: [Interest] Widget Screenshot Question

2015-03-06 Thread Jason Kretzer
And to add a little more information, if I take out the “this->show()”, no image is created at all and this is put in the std out. plugins\win\PluginViewWin.cpp(875) : WebCore::PluginView::setNPWindowRect -Jason //--// Jason R. Kretzer Lead Application Develope

[Interest] Widget Screenshot Question

2015-03-06 Thread Jason Kretzer
Hey everyone, I am trying to create a small app that opens a web view, waits a few seconds, and then takes a capture of the widget. I don’t want it to open a window as I want to send it a bunch of URLs and have it generate a png of each url. It works just fine if it is just a web site — for e

Re: [Interest] Http Proxy connection woes

2015-02-25 Thread Jason Kretzer
cieira mailto:thiago.macie...@intel.com>> To: "interest@qt-project.org<mailto:interest@qt-project.org>" mailto:interest@qt-project.org>> Subject: Re: [Interest] Http Proxy connection woes On Tuesday 24 February 2015 13:24:24 Jason Kretzer wrote: Here is the thing: I have software that i

[Interest] Http Proxy connection woes

2015-02-24 Thread Jason Kretzer
Here is the thing: I have software that is generally “proxy aware.” I have it running behind other proxies and they seem to work. The software is now running behind another proxy and I cannot seem to connect to the outside world using it. Here is the code in main.cpp: QNetworkProxy proxy; pro

Re: [Interest] Installer Recommendations

2015-02-19 Thread Jason Kretzer
: > On 02/19/2015 02:09 AM, Jason Kretzer wrote: >> Good day all! >> >> I am seeking recommendations for an installer (does not have to be free) >> program that I can use to deploy a Qt Application(5.3) and compiled with >> VS2010 to Windows 7. I am not sure

Re: [Interest] Installer Recommendations

2015-02-18 Thread Jason Kretzer
And just to add to it, if any of this can be scripted or some such to be done in an unattended manner. -Jason From: Jason Kretzer Sent: Wednesday, February 18, 2015 8:09 PM To: interest@qt-project.org Subject: Installer Recommendations Good day all! I am seeking recommendations for an

[Interest] Installer Recommendations

2015-02-18 Thread Jason Kretzer
Good day all! I am seeking recommendations for an installer (does not have to be free) program that I can use to deploy a Qt Application(5.3) and compiled with VS2010 to Windows 7. I am not sure of all the variety of packages out there but am generally seeking: 1.)Can create an .exe or .

Re: [Interest] Proxy Ports and GET requests

2014-12-15 Thread Jason Kretzer
Lead Application Developer ja...@gocodigo.com C:606.792.0079 H:606.297.2551 //-// > On Dec 15, 2014, at 2:36 PM, Thiago Macieira > wrote: > > On Monday 15 December 2014 09:52:49 Jason Kretzer wrote: >> Hello all, >> >>

[Interest] Proxy Ports and GET requests

2014-12-15 Thread Jason Kretzer
Hello all, I have some software that is running behind a proxy server and the policy there is that all HTTP/HTTPS traffic should go through the proxy port 8080. The software needs to be able to perform a GET to a url to get some JSON. Here is a sample of the GET code. The url already has “s

Re: [Interest] Threading Question

2014-10-09 Thread Jason Kretzer
mit someSignal();" line to see whether it >>> returns or not, hanging somewhere in validateResult(); >>> 2) try to explicitly specify the Qt::QueuedConnection type for the >>> someSignal() connection — if it helps, then the [most likely] cause is >>> Qt choosin

Re: [Interest] Threading Question

2014-10-09 Thread Jason Kretzer
it helps, then the [most likely] cause is > Qt choosing wrong connection type. > > And, as always, a minimal compilable example would be nice. :) > > On 10/09/2014 07:53 AM, Jason Kretzer wrote: >> Addendum at the bottom… >> >> On Oct 8, 2014, at 11:42 PM, Jaso

Re: [Interest] Threading Question

2014-10-08 Thread Jason Kretzer
Addendum at the bottom… On Oct 8, 2014, at 11:42 PM, Jason Kretzer wrote: > I am a bit confused on threading. > > Lets say I have Thread A — which is where the program is started — has > main(), etc. > > Inside of main() I instantiate a class called BackgroundClass a

[Interest] Threading Question

2014-10-08 Thread Jason Kretzer
I am a bit confused on threading. Lets say I have Thread A — which is where the program is started — has main(), etc. Inside of main() I instantiate a class called BackgroundClass and I move it to another thread (Thread B). BackgroundClass::init(); QThread *thread = new QThread(

Re: [Interest] Setting the Volume of QMediaPlayer conflict

2014-09-22 Thread Jason Kretzer
Ah, found this. https://codereview.qt-project.org/#/c/79918/ Unfortunately, I am not familiar with what branch is associated to what version for Qt. This says it has been merged into the stable branch. However, I assume that it has not made it into 5.3.1 yet as the problem does persist — unl

[Interest] Setting the Volume of QMediaPlayer conflict

2014-09-22 Thread Jason Kretzer
Hello all, I am using the code below to instantiate two QMediaPlayer instances. I want the first one to play at a lower volume than the second. So, I set each volume accordingly, the first player to 1 and the second player to 95. However, they both end up playing at the same volume (95). If

[Interest] QWinEventNotifier: Cannot have more than 62 enabled at one time

2014-08-15 Thread Jason Kretzer
Good Day! I have the below code. Somewhere between the end of the start function and the beginning of the disconnected function I am getting the warning in the subject line. In the below code, “ContentProcess” inherits QProcess, I just added a some string data to keep with it. Also, fprocess

[Interest] Critical/Fatal error detection

2014-06-11 Thread Jason Kretzer
Good Day All, I am using the following code to open and display html content. void MyClass::playHtml(QString filePath, int w, int h) { QUrl url = QUrl::fromLocalFile(filePath); mWidget = new QWebView(this); mWidget->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlways

[Interest] Creating a transparent window that captures mouse events

2014-05-15 Thread Jason Kretzer
Good Day all! I am trying to create a transparent overlay over an existing QMainWindow. This is easy to do and I have achieved it in a number of ways while trying to reach my goal. The problem is not making them transparent, the problem comes in when I want the overlay to capture mouse events

Re: [Interest] Debugging tip for QNetworkReply

2014-05-05 Thread Jason Kretzer
> > Also, it's best to check reply->error() before proceeding to write the file. > > HTH, > -mandeep > > > On Mon, May 5, 2014 at 1:12 AM, Jason Kretzer wrote: >> Windows 7 Professional >> Qt V5.2.1 >> Mime is application/zip >> -- will

Re: [Interest] Debugging tip for QNetworkReply

2014-05-04 Thread Jason Kretzer
Windows 7 Professional Qt V5.2.1 Mime is application/zip -- will check on the logs and get back Size of the zip that works is ~600kb. -Jason -Original Message- From: Mandeep Sandhu [mailto:mandeepsandhu@gmail.com] Sent: Sunday, May 04, 2014 3:25 AM To: Jason Kretzer Cc: Thiago

Re: [Interest] Debugging tip for QNetworkReply

2014-05-03 Thread Jason Kretzer
[mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf Of Thiago Macieira Sent: Friday, May 02, 2014 5:05 PM To: interest@qt-project.org Subject: Re: [Interest] Debugging tip for QNetworkReply Em sex 02 maio 2014, às 10:45:16, Jason Kretzer escreveu: > I am using the following code

[Interest] Debugging tip for QNetworkReply

2014-05-02 Thread Jason Kretzer
Good Day! I am using the following code to download zip files from a url. The only thing that changes is the “id” in the url(one for each zip). Anyway, the code always works on one of the zip files, but never works on the other. Both zips are on the server. Both zips are downloadable, if I

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Jason Kretzer
-project.org Subject: Re: [Interest] Executing PowerShell command with quotes using QProcess Em qua 02 abr 2014, às 12:18:59, Jason Kretzer escreveu: > powershellHDD.start("PowerShell -Command \"&{(Get-WmiObject > Win32_LogicalDisk -Filter \\\"DeviceID='C:’\\\").Si

Re: [Interest] Windows Process Duration

2014-01-22 Thread Jason Kretzer
Thank you Bo and Charley. - - - - - - - - - - - - - - - - - - - - - - - Jason R. Kretzer Application Developer Google # 606-887-9011 Cell # 606-792-0079 ja...@gocodigo.com “quidquid latine dictum sit altum videtur” [cid:image001.png@01CECA4D.CA4030A0] On Jan 22, 2014

[Interest] Windows Process Duration

2014-01-21 Thread Jason Kretzer
Is there a Qt way of getting a handle for a running windows process(or just checking if a certain .exe is currently executing) and determining how long it has been running? -Jason - - - - - - - - - - - - - - - - - - - - - - - Jason R. Kretzer Application Developer Google # 606-887-9011 Cell #

Re: [Interest] Something funny. QAccelerometer

2013-12-16 Thread Jason Kretzer
By tilting the desktop screen! :) - - - - - - - - - - - - - - - - - - - - - - - Jason R. Kretzer Application Developer Google # 606-887-9011 Cell # 606-792-0079 ja...@gocodigo.com “quidquid latine dictum sit altum videtur” [cid:image001.png@01CECA4D.CA4030A0] On Dec

Re: [Interest] General QTimer question

2013-12-12 Thread Jason Kretzer
ter they are finished displaying content hide them. 4. repeat step 2 and 3 On Thu, Dec 12, 2013 at 1:57 PM, Jason Kretzer mailto:ja...@gocodigo.com>> wrote: Good Morning! This is more a general question about the behavior of QTimer followed by a more specific instance of the question. What can

[Interest] General QTimer question

2013-12-12 Thread Jason Kretzer
Good Morning! This is more a general question about the behavior of QTimer followed by a more specific instance of the question. What can make a QTimer not timeout()? In a general sense, what can make it miss its firing? That was the general question. My specific situation: I display 3 QWeb

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-05 Thread Jason Kretzer
o:ja...@gocodigo.com> “quidquid latine dictum sit altum videtur” On Dec 4, 2013, at 12:46 AM, Mandeep Sandhu mailto:mandeepsandhu@gmail.com>> wrote: On Tue, Dec 3, 2013 at 10:39 PM, Jason Kretzer mailto:ja...@gocodigo.com>> wrote: Ah, I see! Now I understand what you mean. I r

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-04 Thread Jason Kretzer
ail.com>> wrote: On Tue, Dec 3, 2013 at 10:39 PM, Jason Kretzer mailto:ja...@gocodigo.com>> wrote: Ah, I see! Now I understand what you mean. I rewrote my “player” object to use a Qtimer that fires every 1 second and is started/stopped according to signals. However, it still has

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-03 Thread Jason Kretzer
I don't see a need for QEventLoop here at all. As to why your setup doesn't work and your eventloop seems blocked during your background task: I guess you gave your BackgroundTaskManager a parent object? That won't work. A whole parent/child tree must live in the same thread. So, I guess your

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-02 Thread Jason Kretzer
kManager a parent object? That won't work. A whole parent/child tree must live in the same thread. So, I guess your BackgroundTaskManager did not actually get moved to the thread at all. André Jason Kretzer schreef op 02.12.2013 20:27: Maybe that last bit would be a bit more clear. The first

Re: [Interest] QEventLoop -- not sure I am correctly using this

2013-12-02 Thread Jason Kretzer
Dec 2, 2013, at 2:14 PM, Jason Kretzer mailto:ja...@gocodigo.com>> wrote: Good Day, I have in my application, two classes. When the application starts up, one of the classes -backgroundtaskmanager - gets instantiated. In the constructor, a QTimer is started to timeout every 5 minutes and c

[Interest] QEventLoop -- not sure I am correctly using this

2013-12-02 Thread Jason Kretzer
Good Day, I have in my application, two classes. When the application starts up, one of the classes -backgroundtaskmanager - gets instantiated. In the constructor, a QTimer is started to timeout every 5 minutes and call runTasks. The instantiation is then moved to a separate thread so that i

Re: [Interest] QProcess wrap the telnet.exe

2013-11-14 Thread Jason Kretzer
I have been reading through this exchange. It was asked but I did not see an answer. If you open a command prompt and type in telnet, does telnet actually come up? I have a base install of Win7 Pro and it is not a recognized command. Did I miss your answer to this? My apologies if I did.

Re: [Interest] QWindowsBackingStore::flush: GetDC failed()

2013-09-18 Thread Jason Kretzer
- From: interest-bounces+jason=gocodigo@qt-project.org [mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf Of Jason Kretzer Sent: Tuesday, September 17, 2013 10:24 AM To: interest@qt-project.org Subject: [Interest] QWindowsBackingStore::flush: GetDC failed() Good Morning

[Interest] QWindowsBackingStore::flush: GetDC failed()

2013-09-17 Thread Jason Kretzer
Good Morning, Had an app that I am working on suddenly stop after a couple of days on continuous use - basically just rotating a series of images on the screen. The log filled with these entries. They were intermittent at first but then eventually took over the log with these, over and over a

Re: [Interest] Playing MP4 and FLV with QMediaPlayer

2013-09-12 Thread Jason Kretzer
I actually tried that last night. Still getting a black box. From: Jason H [mailto:scorp...@yahoo.com] Sent: Thursday, September 12, 2013 10:35 AM To: Lopes Yoann; Mandeep Sandhu Cc: Jason Kretzer; interest@qt-project.org Subject: Re: [Interest] Playing MP4 and FLV with QMediaPlayer On the

[Interest] Playing MP4 and FLV with QMediaPlayer

2013-09-11 Thread Jason Kretzer
Good day everyone! background info All machines mentioned below are Win 7 Pro Using Qt 5.0.2 I am trying to do as the title says, I am using the QMediaPlayer and QVideoWidget to try and play video. Here is the code: Qt Code: Switch view //should be noted that mp4 are encoded with h264 QUrl fi