Hi, sorry for the late response. Had a lot on my plate lately. For now, the tables are still truncated but modifying the html, i've made it so that the new pages (where the tables get truncated) show the table headers using the css suggested by @CKurdu .
@AaronKelsey said in How to set current widget from QWidget class:
Unfortunately I have little experience with signals and slots
I suggest to learn this core concept of Qt, see: http://doc.qt.io/qt-5/signalsandslots.html
@mrjj said in Zero as null pointer:
C++11 is needed to have nullptr
C++11 is also needed for Qt 5.12, so that requirement is guaranteed in this case :)
I tried with some experiments to handle such huge data, A SQL stored procedure is implemented which accepts XML as input reads it and stores in a table variable and insert in a single shot of e.g 7000 inserts in 1 to 1.5 seconds. My Qt application bundles the data in xml format of required amount of entries controlled in application.
The stats i can compare here the sequential query call takes around 15-20 seconds to store 7000 records, The same 7000 records takes only 1 to 1.5 seconds to store via XML-stored proc implementation.
to get macdeployqt to find the libs at a different place, add -libpath=<path> to the end of the command.
i have NOT figured out how to get it to place the libs in to the SharedSupport folder, but they DO work inside the Frameworks folder, even though they're NOT frameworks. huh.
Hi
adding to jonB
the text() returns a QString and you can access each char with the
at() function
http://doc.qt.io/qt-5/qstring.html#at
Make sure you check string length before using this functions as
it will crash the app if you do not handle it with care.
Personally I just needed to link to CoreServices and SystemConfiguration.
# Static builds require direct linking to macOS services
QMAKE_LFLAGS += -F /System/Library/Frameworks/CoreServices.framework/
QMAKE_LFLAGS += -F /System/Library/Frameworks/SystemConfiguration.framework/
LIBS += -framework CoreServices
LIBS += -framework SystemConfiguration
Cheers.
@mzimmers
Ok super.
Normally any updates do not include extra Qt versions. it only updates
those already installed. in any case, good you got rid of them.
@SGaist
As usual from you, a very interesting link! I'm not sure it does the same sort of thing as I had mind (visualizing layouts & widgets [EDIT hang on, https://doc.qt.io/GammaRay/gammaray-widget-inspector.html might be closest to what I had in mind]), and I won't get code navigation because Python, but I must give it a look. When I have a minute --- it looks quite complex/impressive!
Another thing I notice is that QNetworkAccessManager manager is created just before the post request. This indicates to me that you are not handling any signal like finished(..). So how to you know that response has come back ?
Try the following:
launch the Console app in the Utllity folder
launch your app from the desktop (double clicking on it)
look at any relevant messages in the Console relative to your app