Re: [Interest] Deployment issue on Samsung S3
On 11 January 2016 at 17:50, Jason H wrote: > I'm not sure where to file this. I've got an S3 running 4.4.2 > > 11:47:32: The process > "/Users/jhihn/Qt5.6.0/5.6/android_armv7/bin/androiddeployqt" exited normally. > 11:47:32: Pulling files necessary for debugging. > 11:47:32: Package deploy: Running command > "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull > /system/bin/app_process32 > /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process". > 11:47:32: Packaging error: Command > "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull > /system/bin/app_process32 > /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process" > failed.Exit code: 1 > 11:47:32: Package deploy: Running command > "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull > /system/bin/app_process > /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process". > 11:47:32: Package deploy: Running command > "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull > /system/lib/libc.so > /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/libc.so". > > And then nothing happens. > > > Note: 11:47:32: Packaging error: Command > "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull > /system/bin/app_process32 > /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process" > failed.Exit code: 1 > > This fails because /system/bin/app_process32 does not exist, but > /system/bin/app_process does. > > How can I fix this? I am getting roughly the same output, but for me the applications I run do work, so I think you might be chasing the wrong culprit here. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] OSX: Losing internet and regaining it does not allow XMLHttpRequest to work
On 9/01/2016 8:39 AM, Jason H wrote: I have an app (mobile, but develop mostly on OSX (God I love Qt!)) and I'm trying various failure modes. I login in the app, Disable wifi, Attempt a request, it fails Re-enable wifi, Attempt request. It's probably related to this: https://bugreports.qt.io/browse/QTBUG-49760 td;dr try disabling bearer plugins ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Deployment issue on Samsung S3
I'm not sure where to file this. I've got an S3 running 4.4.2 11:47:32: The process "/Users/jhihn/Qt5.6.0/5.6/android_armv7/bin/androiddeployqt" exited normally. 11:47:32: Pulling files necessary for debugging. 11:47:32: Package deploy: Running command "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull /system/bin/app_process32 /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process". 11:47:32: Packaging error: Command "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull /system/bin/app_process32 /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process" failed.Exit code: 1 11:47:32: Package deploy: Running command "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull /system/bin/app_process /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process". 11:47:32: Package deploy: Running command "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull /system/lib/libc.so /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/libc.so". And then nothing happens. Note: 11:47:32: Packaging error: Command "/Users/jhihn/Library/Android/sdk/platform-tools/adb -s 498ea64c pull /system/bin/app_process32 /Users/jhihn/Projects/build-testapp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_6_0-Release/app_process" failed.Exit code: 1 This fails because /system/bin/app_process32 does not exist, but /system/bin/app_process does. How can I fix this? Thanks! ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Visual Studio 2015 32 bit debugger setting
Hello List: Anybody know how to manually setup Qt Creator debugger for Visual Studio 2015. After installing both MSVC2015 and Qt560 beta, my debugger entries in Build&Run were blank. I could not find cdb.exe or windbg.exe and nothing for downloading Debug Tools for 2015 from Microsoft except a command line only set of tools which will not install while full visual studio 2015 is installed. Also described in: https://bugreports.qt.io/browse/QTBUG-50399 But I am loooking for the manual entry of a debugger in Build & Run setting in Qt creator. Thanks, md ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] [Localization] Starting a Norwegian Nynorsk translation of Qt
On Sun, Jan 10, 2016 at 03:35:59PM +0100, Karl Ove Hufthammer wrote: > I am planning on starting a translation of Qt into Norwegian Nynorsk (language > code: nn). I have read https://wiki.qt.io/Qt_Localization, and it looks like > Qt 5.6 is the most relevant branch to translate. Is that correct? > yes > I will probably only translate the libraries, not Qt Creator or other > developer applications. > that's fine. just try to make the translations that you actually make complete. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] 5.5/5.6 QMLEngine management
On 1/11/2016 12:53 AM, Bo Thorsen wrote: Den 10-01-2016 kl. 03:21 skrev mark diener: Hello List: I have a couple of core QMLEngine questions: Basic Code Snippet: QQmlEngine geng ; QQmlComponent gcomp(&geng) gcomp.setData( ByteArrayofQML , QUrl() ) ; gcomp.create() -> Show the QML in the QML Engine if (gcomp.isError() == false) -> we have visible QML! 1) How does one cause all properties in the root context for QML engine be triggered to re-evaluate their bindings again. For example Text { text: gvariable }, it want text object to re-fetch its own values instead of pushing values with Qobject->setProperty(). Generic pull instead of specific push. Can I cause a disturbance in the QmlContext and that would trigger and "expensive" refetching of text values for example. On one hand, this question doesn't make sense. QML vars are considered changed immediately, and that's a basic design choice. OTOH, it's very simple to do this yourself. Just create a function that pulls in the new variable values. You might need a proxy object between the real value place and the QML land, but other than that you need no tricks for it. 2) How does one clear out everything loaded in the root QmlEngine context? What is the best way to clear the root context of qmlengine of everything prior to calling gcomp->setData() and gcomp->create( ) to load brand new QML into the QmlEngine? geng->clearComponentCache() ? Does this really flush everything out regardless of anything that is currently visible on-screen? I do not want to build up a pile of QObjects in the engine, I want them cleanly flushed out. Again, there are ways you could do this. Store the set of accepted vars and values and reset to exactly those when you want, for example. But this idea smells badly of a fundamentally bad design. If you need to get rid of variables, reset them, etc. then they probably shouldn't be stored as context on the root engine. This sounds like one of the "how do I do B" because you are doing "A" already questions, and the problem is that "A" is wrong. We get those on this list all the time. One idea I have used often is to have a backend object that is almost the only object exposed to QML. Inside this one you can set variables on the fly as you want. With the very limited amount of info you have given here this seems like a much more appropriate direction for you. Bo Thorsen, Director, Viking Software. Bo: Sorry if my information was limited. What I was trying to say was that for the QMLEngine when it loads and displays QML ( component setData()/create() ), I want to trigger in a generic way an update to that information. For example, when I change language from English to Spanish, I want the QMLEngine to re-fetch all of its bound values in a generic way, not specific hard coded setProperty( objectName,"text") calls to trigger. That is a maintenance and code pattern nightmare. We need some generic way from C++ to trigger QML value re-fetch as if the With respect to QmlEngine->clearComponentCache(), your appreciated answer is tied to variables and that is not what I was asking. When I change screens, I want to dump the loaded QML and replace with new QML. The documentation does not give me a firm grasp of the relationship to C++ QQmlContext, QQmlEngine, and QQmlComponent.setData()/Create(). Now the 2 questions are related in that I could either "Update" the currently displayed QML when I change languages. Or I can Dump the QML and reload it with the new language values. Yes, I know Qt Translation exists, but that is not the point of the inquiry here, since I used a different design for my international support. Cheers, md ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Request blocker/fix verson 5.6
For https://bugreports.qt.io/browse/QTBUG-49020 This seems to be a cross platform regression, and a very disruptive one at that. Basically XMLHttpRequest ceases to work if the network becomes unavailable, even if it comes back. Only way to fix it is to restart the app. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Macro support with QTextEdit.
On 01/10/2016 02:59 AM, Tony Rietwyk wrote: Bill asked: Sent: Sunday, 10 January 2016 1:25 AM Next question: How do I save and restore to HTML? Hi Bill, I can't help with the saving. But we display html documents with tags and replace them with QWidgets: The HTML representation is kind of an abomination and ultimately I would like to have more control, so I just wrote my own XML read/write code at the cost of ~250 LOC. Thanks Bill - We fetch all of the text using codecForHtml. - Search for tags, parse the arguments and replace the tags with plain "[[object]]" markers, building up a list of their locations. - Set the modified html into a QTextBrowser. - Loop over the locations (in reverse order) and create a widget for each object, parented by the browser, remove the text and insert the ObjectReplacementCharacter. There are lots of painful gotchas to work around - moving the widgets to the correct location, hiding the widgets until required, rendering with the correct scale when printing, etc. The document object interface is pretty stunted - in Qt4 I don't believe there was a virtual hook into the html saving process to handle the special characters. I suspect you'll need to modify the Qt sources, or create a copy of the document, and do the reverse of the steps above. Good luck! Tony ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest