Re: [Interest] [PAID] Seeking a C++/Qt Tutor/Mentor

2017-03-30 Thread mark diener
What is your education budget and time frame? md On Thu, Mar 30, 2017 at 3:38 PM, Jason Allen wrote: > Hi all, > I'm seeking a paid C++/Qt tutor or mentor. > > I am professionally experienced with Ruby on Rails, JS, and > Elixir/Phoenix, but I'm having a hard time getting quickly up to speed w

Re: [Interest] Qt Lite 5.8

2017-01-30 Thread mark diener
Konstantin: How do I cross compile on Linux for IOS/OSX target? So while your suggestion is appreciated, your logic is hard to follow. md On Mon, Jan 30, 2017 at 12:16 PM, Konstantin Tokarev wrote: > > > 30.01.2017, 20:58, "mark diener" : >> Kai: >> >>

Re: [Interest] Qt Lite 5.8

2017-01-30 Thread mark diener
reduced size builds that actually WORK. Thanks md On Mon, Jan 30, 2017 at 9:12 AM, Kai, Koehne wrote: >> -Original Message- >> From: mark diener [mailto:rpzrpz...@gmail.com] >> Sent: Monday, January 30, 2017 3:05 PM >> To: Tor Arne, Vestbø >> Cc: Ka

Re: [Interest] Qt Lite 5.8

2017-01-30 Thread mark diener
d not say anything about Qt Lite, I replied to a comment about dynamic > linking on iOS. > > tor arne > > On 30/01/2017 14:20, mark diener wrote: >> >> Tor: >> >> In the 5.8 release blog, on January 24, 2017 at 14:40, you said: >> >> "Stay tuned f

[Interest] Qt Lite 5.8

2017-01-30 Thread mark diener
Tor: In the 5.8 release blog, on January 24, 2017 at 14:40, you said: "Stay tuned for some more info on this in the coming week." The week has almost expired. Really want some configure examples to actually realize the benefits of Qt Lite. After spending about 4 hours last Friday, I could not

Re: [Interest] 5.8.0 QAbstractListModel

2017-01-16 Thread mark diener
Bill: I thought I would do a brain dump on what I learned. If your data is bound by the roleNames() mechanism, then the dataChanged( ) function works greatl If your data is retrieved by INVOKABLE functions, then you need to call the following: QModelIndex gi = QModelIndex() ; beginInsertRows(gi

[Interest] 5.8.0 QAbstractListModel

2017-01-15 Thread mark diener
Cannot use emit dataChanged(index(0),index(growcount-1)) to cause re-display of changed values in ListView. Tried every combination: emit dataChanged(index(grow),index(grow)); emit dataChanged(index(0),index(grows)); emit dataChanged(index(0),index(grows-1)); Only can repaint entire ListView wit

[Interest] Fonts Puking on Qt 5.7.1:

2017-01-07 Thread mark diener
Just run the following QML on iphone, android, and OSX and you will see the great QML Font Mystery. All devices set to display English language. On OSX 10.11.5 -> there are 2 different weights On Ipad 2 running IOS 9.3.2-> there are 2 different font weights. On Ipad Mini V1 running IOS 9.3.2-> th

[Interest] QMAKE_ASSET_CATALOGS

2017-01-03 Thread mark diener
Anybody know how to make QMAKE_ASSET_CATALOGS actually work. No working example on net. Qt 5.7.1 OSX building for IOS ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] TextInput Vs TextEdit

2016-12-30 Thread mark diener
Using Qt 5.7.1 on OSX and building for Android, import QtQuick 2.7 import QtQuick.Controls 1.5 For TextInput, I receive Key.OnPressed for standard keys like A->Z,1-9, etc. But for TextEdit, No events at all except for control keys like enter, escape, backspace. When I run the same code on OSX,

[Interest] [SOLVED] Re: Android androidBuildToolsVersion

2016-12-28 Thread mark diener
I was wrong, add the value to build.gradle under the android section. That is all. md On Wed, Dec 28, 2016 at 9:48 PM, mark diener wrote: > Does anybody know how to set the androidBuildToolsVersion. > within the Qt project and not have to manually edit the dynamically gen

[Interest] [SOLVED] Re: Android androidBuildToolsVersion

2016-12-28 Thread mark diener
Add the value: buildToolsVersion=25.0.2 to the gradle-wrapper.properties file On Wed, Dec 28, 2016 at 9:48 PM, mark diener wrote: > Does anybody know how to set the androidBuildToolsVersion. > within the Qt project and not have to manually edit the dynamically generated > gradle.p

[Interest] Android androidBuildToolsVersion

2016-12-28 Thread mark diener
Does anybody know how to set the androidBuildToolsVersion. within the Qt project and not have to manually edit the dynamically generated gradle.properties file in the buld directory. There is the build.gradle file that references the androidBuildToolsVersion with a note that is cryptic about chang

[Interest] PRO File defines

2016-04-24 Thread mark diener
Hello List: Who can tell me how to detect whether a build is for IOS or IOS Simulator in the project PRO file. ios { QMAKE_IOS_DEPLOYMENT_TARGET=8.0 QMAKE_IOS_TARGETED_DEVICE_FAMILY=1,2 } But how to I differentiate between IOS builds and IOS-simulator builds? Thanks, Marco

[Interest] TextField Focus onReleased

2016-04-22 Thread mark diener
Hello: Can anybody figure out a way for a TextField which contains its own MouseArea to allow the TextField to gain focus when the onReleased event is called, not the normal behavior of focus gained when the onPressed is triggered. Any response appreciated, md ___

Re: [Interest] How to hide keyboard while clicking outside of keyboard in qml

2016-02-24 Thread mark diener
Gianluca: For simple QML layouts, I think your technique would work. But I found that mousearea had issues when you had Loader objects in the chain. Another approach is to use a Q_INVOKABLE function to register any QML object that you want to have the keyboard hide whenever the touch outside of

Re: [Interest] [Development] [Announce] Qt 5.6.0 RC released

2016-02-23 Thread mark diener
Hello List: Anybody running OSX El Capitan 10.11 with Qt 5.6.0 RC and IOS 9.2 and Xcode 7.2 and able to successfully debug under IOS Simulator? https://bugreports.qt.io/browse/QTCREATORBUG-15705 Any comments appreciated, md On Tue, Feb 23, 2016 at 11:41 PM, List for announcements regarding Qt

[Interest] QML Keys Shock

2016-02-23 Thread mark diener
Hello List: I went to deploy a test app on Android and IOS that would test processing handling keys as they were entered into TextInput QML. Shockingly, the Keys.onPressed is NOT called for normal letters on either Android or IOS. Keys, like Back(delete) and Enter do trigger events, but forget a

Re: [Interest] background uploads in iOS

2016-02-10 Thread mark diener
maybe? https://github.com/colede/qt-app-delegate md On Wed, Feb 10, 2016 at 2:19 PM, Jason H wrote: > I was reading on how I can do background uploads and it seems as os iOS 7, > there is a facility to do this. > ( > https://developer.apple.com/library/ios/documentation/Foundation/Reference/N

Re: [Interest] [Development] 5.7 feature freeze

2016-01-27 Thread mark diener
Lars: I am sure I am not the only newcomer to QT who would love to add code to the 5.7 feature list, but barely have time to contribute bugs to debug 5.6.0 beta let alone look ahead to 5.7 Now we are faced with waiting until 5.8 to even think about a set of key missing functions in Qt QML. I am

Re: [Interest] TextField QML auto keyboard hiding/lose focus on touch events

2016-01-26 Thread mark diener
mobile using a simple MouseArea that cover all the >> screen and it’s under all other active elements. >> When that MouseArea is touched, I call Qt.inputMethod.hide() … and that’s >> it. >> So, if the user touch outside any button, textfield, etc… then that touch >>

[Interest] TextField QML auto keyboard hiding/lose focus on touch events

2016-01-25 Thread mark diener
Hello List: Anybody have a tip or suggestion for IOS/Android Qt 5.5.1 -> Qt 5.6.0 Beta I am using a TextField and the keyboard pops up whenever the input control receives focus. But I want the TextField to lose focus whenever you click/touch outside of the control. Not Just Tab & Enter that are

[Interest] Qt 5.5.1- 5.6beta - Android Gradle Packaging

2016-01-22 Thread mark diener
Bogdan & List: In some of your Android Episodes (6&7), you addressed how to override the base android activity to include your own functionality in java code. The next logical step is being able to change "Import Gradle Files" so that custom packaging are ALWAYS imported into projects. Basicall

[Interest] QQuickTextNode not reachable from QQuickItem

2016-01-14 Thread mark diener
Hello List: Well after pouring thru 5.5.1 source code, I find that QQuickTextNode is really not intended to be used in QQuickItem derived classes. There is not visible header file from projects. Lots of various google references to similar challenge of text in QQuickItem. At this point, my only

[Interest] Visual Studio 2015 32 bit debugger setting

2016-01-11 Thread mark diener
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 c

[Interest] 5.5/5.6 QMLEngine management

2016-01-09 Thread 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

Re: [Interest] Qt 5.5.1+ Android Activity Theme & OpenGL

2016-01-05 Thread mark diener
oid-application-567ca3bc70af#.yatvhxgqp > > > > On 5 January 2016 at 21:57, mark diener wrote: >> >> Bogdan: >> >> Thanks for your answers on the previous gradle issues. >> >> During your work on QtActivity, did you ever try to create use a custom >> them

[Interest] Qt 5.5.1+ Android Activity Theme & OpenGL

2016-01-05 Thread mark diener
Bogdan: Thanks for your answers on the previous gradle issues. During your work on QtActivity, did you ever try to create use a custom theme? The native Splash screen for Qt is rooted in a java function, but that function executes way AFTER java inflation. So attaching the custom theme to the Q

Re: [Interest] Android Studio 1.5.1 with Qt 5.5.1 OSX

2016-01-04 Thread mark diener
n wrote: > Hi, > > QtCreator should replace "distributionUrl" for you. Please use > https://bugreports.qt.io to open a bug report. > > Cheers, > BogDan. > > > On Monday, January 4, 2016 2:30 PM, mark diener wrote: > > > After getting more problems l

Re: [Interest] Android Studio 1.5.1 with Qt 5.5.1 OSX

2016-01-04 Thread mark diener
After getting more problems like the one below: Failed to sync Gradle project 'android' Error:Unable to load class 'org.codehaus.groovy.runtime.typehandling.ShortTypeHandling'. Possible causes for this unexpected error include:Gradle's dependency cache may be corrupt (this sometimes occurs after a

[Interest] Android Studio 1.5.1 with Qt 5.5.1 OSX

2016-01-03 Thread mark diener
Hello List: Anybody run into problems with gradle from qt 5.5.1 projects? qt5.6 beta projects: Lots of problems with Gradle not knowing which way is up by opening gradle.build. Error:(37, 0) Could not find property 'androidCompileSdkVersion' on com.android.build.gradle.AppExtension_Decorated@4f

[Interest] Android Studio 1.5.1 with Qt 5.5.1 OSX

2016-01-03 Thread mark diener
Hello List: Anybody run into problems with gradle from qt 5.5.1 projects? qt5.6 beta projects: Lots of problems importing Gradle. Error:(37, 0) Could not find property 'androidCompileSdkVersion' on com.android.build.gradle.AppExtension_Decorated@4f513134. Open File I am trying various combinat

[Interest] OSX / IOS Xcode/El capitan

2015-12-29 Thread mark diener
FYI: XCode 7.2 Works with Qt 5.5.1 on OSX El Capitan 10.11 for IOS and OSX targets. Both on simulator and real devices. For IOS, need: QMAKE_IOS_DEPLOYMENT_TARGET=6.0 (or higher) to get past compiler/linker issues. For OSX, need: QMAKE_MAC_SDK = macosx10.11 Cheers all. md _

[Interest] Qt ListView Christmas Bug

2015-12-24 Thread mark diener
Does anybody have a different way to cause a ListView to re-retrieve the data in the model without causing AbstractListModel destructor exceptions. Using beginResetModel() / endResetModel() in the abstractlistmodel causes the model destructor to be called with: testalert(1543,0x7fff72265000) ma

[Interest] Thiago QtWS15- Contributing your first patch to the Qt Project

2015-12-01 Thread mark diener
Thiago: Just watched your talk about contributors on youtube: https://www.youtube.com/watch?v=bWuOQoY1J78 What I did not see was any sort of treatment to local testing and executing the unit test in some reasonable way. Since it takes hours to build the source, then you make changes. It would

[Interest] Qt 5.5.x Android Arm Vs Intel

2015-11-11 Thread mark diener
Hello List: I just ran a test where I ran an ARM compiled test program on an Intel CPU tablet and it worked very well. Should we just expect to build our Android versions in ARM and the Intel CPU will emulate the program correctly? Anybody run more tests on Android Intel devices running ARM comp

Re: [Interest] Commercial license for embedded project

2015-11-01 Thread mark diener
Peter: You can contact directly by phone any office of Qt worldwide and they have sales people that will answer your questions about pricing. md On Sat, Oct 31, 2015 at 5:05 PM, Peter Kümmel wrote: > Does anybody know the price of a commercial Qt license for an embedded > project? > I tried t

[Interest] OSX El Capitan & Qt

2015-10-12 Thread mark diener
Does Qt or anybody have some guidance on what combination of Xcode & Qt we should consider the latest stable group? El Capitan + Xcode 7.0.1 + Qt 5.5.0? (I found a lot of errors here) El Capitan + Xcode 6.4 + Qt 5.5.0? (Lots of warnings) Iphone simulator errors: Session could not be started: I

[Interest] Compile OpenSSL & NetworkAccessManager

2015-10-10 Thread mark diener
Hello List: Referring to the following: http://doc.qt.io/qt-5/opensslsupport.html Quote-> "Open your Qt project using Qt Creator and update the "Build Android APK" settings to add *libcrypto* and *libssl* as additional libraries for your project." Does this mean I can add both static/shared lib

[Interest] Windows 10 Intel Atom + Android Atom Intel

2015-10-07 Thread mark diener
Has anybody has success with Qt Creator to Create Android for Intel Atom CPU under 5.5.0? Has anybody gotten Windows 10 How does Windows 10 tablets work with Qt 5.5.x? For IOS and Android ARM, the USB or IOS Lightning connector running Qt 5.5.0 on Mac OSX works like a champ. I would imagine tha

Re: [Interest] Lovely Arabic/Persian layout challenges

2015-09-18 Thread mark diener
Hello List: There seems to be a better option, sometimes just staring at me in the face, right in the docs. http://doc.qt.io/qt-5/qml-qtquick-layoutmirroring.html#details More news on its effectiveness. Cheers. md On Tue, Sep 15, 2015 at 6:55 AM, mark diener wrote: > Hello List: >

[Interest] ImageProvider Threading

2015-09-17 Thread mark diener
Hello List: When dealing with multi-threading, the docs say that QQuickImageProvider will load images in a separate low priority thread. As it reads in the docs: http://doc.qt.io/qt-5/qquickimageprovider.html#details "When this is enabled, the image request to the provider is run in a low prior

[Interest] Lovely Arabic/Persian layout challenges

2015-09-15 Thread mark diener
Hello List: Has anybody come across how to control right to left languages with respect to alignment application wide. http://doc.qt.io/qt-5/qguiapplication.html#layoutDirection-prop In my case, I need to project arabic along with english. But the shifting of left to right layout and right to l

[Interest] Qt 5.5.0 & AndroidExtras

2015-08-29 Thread mark diener
Hello List: FYI Something to pay attention to for androidextras users. Seems like Qt Creator when it adds a java file puts the java file into the pro file like: DISTFILES += \ android/AndroidManifest.xml \ android/gradle/wrapper/gradle-wrapper.jar \ android/gradlew \ android

Re: [Interest] Windows deployment. Failed to start because of missing platform plugin...

2015-08-28 Thread mark diener
I just tried to use windeployqt on my freshly built qt 5.5.0 compiled with MSVC2015 and the latest Qt Creator 3.50 on Windows 10 The tool defaults to deploying the debug version, even though I pointed it to the release executable. It succeeds building the debug version of things. It fails to buil

Re: [Interest] Qt 5.5.1 & MSVC 2015

2015-08-27 Thread mark diener
:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077:

Re: [Interest] Qt 5.5.1 & MSVC 2015

2015-08-27 Thread mark diener
the source root directory itself. More news soon. md On Thu, Aug 27, 2015 at 8:11 AM, mark diener wrote: > Thiago: > > Ok, the first error is the most important. > > I made sure I added your -I and -L suggestion > and tried to capture errors to a log file. > > T

Re: [Interest] Qt 5.5.1 & MSVC 2015

2015-08-24 Thread mark diener
On Mon, Aug 24, 2015 at 9:39 AM, Thiago Macieira wrote: > Compile from sources, for now. > Thanks Thiago. Has anybody built qt5.5.0 from sources with MSVC2015? There are people on the list that will want to build qt5.5.0 and qt5.5.1 if we must wait until qt5.6 to get a MSVC2015 binary build u

[Interest] Qt 5.5.0 Compile Time Hash Example

2015-08-23 Thread mark diener
Hello List: Have you ever wanted an efficient switch statement on QString values? There are many references to the subject with various algorithms, but they all have some major flaw in the implementation. For those looking for a way to have compile and run time hash on their strings, I spent a l

[Interest] Accessing QML Loader from C++

2015-08-22 Thread mark diener
Hello List: Does anybody have an idea on how to retrieve the QObject* from C++ with a QML Loader::item property? Is it possible to pass a item to Q_INVOCABLE and get a valid QObject* inside the called invoked function (from QML->C++) Is there a risk of blowing memory if I setContextProperty( )

[Interest] Qt 5.5.0 Import Paths Missing

2015-08-21 Thread mark diener
Ran into a project where the Qt 5.5.0 package builder is confused and the application cannot find the modules. This is being run inside Qt Creator 3.5.0 and the QQmlApplication::importPathList() does not provide the testgui.app/qt_qml path, it is missing a path, so the Qml engine cannot find it.

[Interest] QQmlEngine, QQmlComponent, QQmlContext

2015-08-17 Thread mark diener
Hello List: I am trying to execute 2 calls to QQmlComponent( ).setData() and QQmlComponent.create() . When I instantiate the first component, I want to make it visible to the second QQmlComponent also instantiated with QQmlComponent.setData() and then QQmlComponent.create( ). So there must be so

[Interest] Custom Build Step in Qt Creator

2015-08-14 Thread mark diener
How do I make Qt 5.4.2 on OSX add a custom build step when a new project or kit is added to a project. Inside the pro.user file, the result would be an added build step before any others. I am getting tired of manually adding the step and can go so far as to manually cut and paste the requires XM

Re: [Interest] Qt 5.5.0 OSX Simulator fail

2015-07-30 Thread mark diener
make sense of which combinations of Xcode/OSX/Qt/IOS are best kept together. I know the upcoming patch of Qt 5.5.1 for Windows 10 support is a good pairing, but what is a good XCode to pair with Qt 5.5.1? Cheers, md On Thu, Jul 30, 2015 at 2:45 PM, mark diener wrote: > Hello List: >

[Interest] Qt 5.5.0 OSX Simulator fail

2015-07-30 Thread mark diener
Hello List: Yosemite 10.10.2 - Xcode 6.1.1 (also on Xcode 6.2) - Qt 5.5.0 Trying to run on the IOS simulator and get a big fail. The simulator starts up but then the applicaiton output gets the following message on a basic project. Anybody come across this? Debugging starts Session could not

[Interest] SIGBUS Android Qt 5.5.0

2015-07-29 Thread mark diener
Hello List: Ran into Android compiler NDK C++/C issue today. NDK r10e-osx SDK Tools 24.3.3 Api 19 (4.4.2) Code runs great on OSX and IOS. But dies with SIGBUS (7) on Android 4.x. And there are issues of implicit declarations of memcpy and memset that Does not matter if Debug (O0) or Release (

Re: [Interest] Living with 5.4.x QML QQuickPaintedItem/QQuickItem plugins

2015-07-02 Thread mark diener
talled On Wed, Jun 24, 2015 at 9:39 AM, mark diener wrote: > Same problem for IOS Simulator: > > /macdev/qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/chapter6-plugins/ > > > Triggers the same QML "installed" error... > > Debugging starts > > QML debuggi

[Interest] 5.5 OSX Secure Transport

2015-07-01 Thread mark diener
Hello List: I built a test program on 5.5 Release on OSX Yosemite 10.10.2 In the Release notes: "New SSL back-end for iOS and OS X based on Secure Transport. Note that in Qt 5.6 this will become the default SSL: back-end on these platforms. " When I run my program, I can still see the library h

Re: [Interest] Living with 5.4.x QML QQuickPaintedItem/QQuickItem plugins

2015-06-24 Thread mark diener
port 30001... QQmlInspector: No plugins found. qrc:///app.qml:41:1: module "Charts" is not installed On Wed, Jun 24, 2015 at 9:32 AM, mark diener wrote: > Looking at the ../qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/ > project now for "installation" tips. > >

Re: [Interest] Living with 5.4.x QML QQuickPaintedItem/QQuickItem plugins

2015-06-24 Thread mark diener
Qt-5.4/qml/tutorials/extending-qml/chapter6-plugins/app.qml file:///macdev/qt542/Examples/Qt-5.4/qml/tutorials/extending-qml/chapter6-plugins/app.qml:41 module "Charts" is not installed "/macdev/qt542/5.4/clang_64/bin/qmlscene" finished On Wed, Jun 24, 2015 at 8:43 AM, mar

[Interest] Static Qt Quick 2 Extension Plugin Install Failure

2015-06-23 Thread mark diener
I created a Qt Quick 2 Extension plugin and compiled it static on OSX Qt 5.4.2 When I compile the QQuickPaintedItem derived C++ class directly into my binary, it works fine after QmlRegistertype( ). Now I am trying to migrate it to a plugin so it can be shared easily among the rest of my project

[Interest] 5.4.2 Android Misery just one typo away

2015-06-15 Thread mark diener
Hello list folk: Under OSX/IOS, no problem. Under Android, nasty and obscure segment fault Qt 5.4.2, NDK 10e Do NOT under any circumstance forget the "&" before the argc parameter on the constructor if you override QGuiApplication (QApplication too) Good: Trpzapp::Trpzapp(int& argc, char** ar

[Interest] Android Rotation Bug

2015-06-06 Thread mark diener
Hello: Came across an kind of nasty bug on Android. https://bugreports.qt.io/browse/QTBUG-46513 I have posted SEXY video links of the bug on 2 android flagship devices and the simple sample code to generate it. Screen.height is getting slightly artificially increased (20 px) on device rotation

[Interest] QQmlComponent setData usage

2015-05-28 Thread mark diener
Hello: I have a small sample program to clarify how to use QQmlComponent::setData( ). Of course, the QML engine cannot load a component due to unknown Myrect type Can anyone comment on how to use setData( ) so that Myrect is visible as a component. Application output: Debugging starts QML deb

Re: [Interest] SingletonType functions not visible in QML

2015-05-23 Thread mark diener
type instance returned from a singleton type >> >> provider is owned by the QML engine. For this reason, the singleton >> type >> >> provider function should not be implemented as a singleton factory. >> >> >> > >> > Ah ok thanks, at the fir

[Interest] SingletonType functions not visible in QML

2015-05-22 Thread mark diener
Hello: I have a test qmlRegisterSingletonType project as listed below. The singleton Q_INVOKABLE functions are somehow not visible or in "scope". Anybody have ideas about this? # sing.h #include #include #include #include class Sing : public QObject { Q_OBJECT public:

[Interest] QML components in QRC resources

2015-05-16 Thread mark diener
Hello: >From the docs: http://doc.qt.io/qt-4.8/qmlreusablecomponents.html#qml-define-components "A component defined in a .qml file is directly usable by declaring the name of the component. For example, a button defined in Button.qml is created by declaring a Button. " What happens when we wan

Re: [Interest] Qt 5.4.x Android and IOS screen orientation lock in code

2015-05-14 Thread mark diener
platform code. It usually helps to ping the interest list becuause maybe others have confronted the problem already. Thanks, md On Thu, May 14, 2015 at 5:25 PM, Hamish Moffatt wrote: > On 15/05/15 08:59, mark diener wrote: > > > > Now, what will NOT work is setting values and

[Interest] Qt 5.4.x Android and IOS screen orientation lock in code

2015-05-14 Thread mark diener
Hello: I was scanning the docs and stack exchange and everywhere and could not find an example of how to lock a screen to Portrait ONLY in Qt Code. I tried to lock my Galaxy S2 smartphone to portrait only by issuing: QScreen* gs = QGuiApplication::primaryScreen() ; gs->setOrientationUpdateMask

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Almost at the threshold: http://www.kdab.com/wp-content/uploads/stories/slides/DD13/qml-tricks-and-treats-vladimir-moolle-ics-dd-2013-berlin.pdf Thank you Michael Sue for the brain trigger from your original response! I am working verifying the qrc syntax inside QML right now. md On Wed, May 1

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
There was some banter related to this in a prior forum post, but nothing definite: https://forum.qt.io/topic/7721/qml-and-javascript-files-in-resource-qrc-how-to-import-js-in-qml/2 md On Wed, May 13, 2015 at 6:14 AM, mark diener wrote: > Michael & List: > > That tip is al

Re: [Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Michael & List: That tip is along the right direction, but there is no treatment of QRC:/PREFIX in the Import Directory Imports A directory which contains QML documents may also be imported directly in a QML document. This provides a simple way for QML types to be segmented into reusable grouping

[Interest] QML Components And QRC Prefixes/Subdirectories

2015-05-13 Thread mark diener
Hello: I am using prefixes in my QRC resource chain to keep some sense of order in my many QML files. For example, to load a given QML file using the loader: gloader.source = "qrc:/prefix/realdir/qmlname.qml" So I need to put the prefix name first, then any actual subdirectory and then the qml

Re: [Interest] Qt 5.4.x QML Quick2 OSX STANDARD framework deployments documentation missing

2015-05-08 Thread mark diener
between applications. How would plugins, platforms, and qml directory be handled? The stumbling block continues... On Fri, May 8, 2015 at 4:19 PM, mark diener wrote: > Trying to follow: http://doc.qt.io/qt-5/osx-deployment.html > > From the web site, > "The latter option is

[Interest] Qt 5.4.x QML Quick2 OSX STANDARD framework deployments documentation missing

2015-05-08 Thread mark diener
Trying to follow: http://doc.qt.io/qt-5/osx-deployment.html >From the web site, "The latter option is good if you have many Qt applications and you want them use a single Qt framework rather than multiple versions of it." But the documentation seems fairly shallow to understand how to deploy a SI

Re: [Interest] Loader not finding QRC prefix entries

2015-04-16 Thread mark diener
Loader and QRC Prefix problem SOLVED. You must put the prefix identifier and then put the directory that contains the QML file A little backwards but at least it works. Given the previous scenario: source: "/sm/sm/list.qml" Thanks all. On Thu, Apr 16, 2015 at 3:36 PM, mark die

Re: [Interest] Loader not finding QRC prefix entries

2015-04-16 Thread mark diener
The loader should have read: Loader { id: genload anchors.fill: parent asynchronous: true source: "/sm/list.qml" focus: true onLoaded: { } } On Thu, Apr 16, 2015 at 3:30 PM, mark diener wrote: > > Hel

[Interest] Loader not finding QRC prefix entries

2015-04-16 Thread mark diener
Hello: Qt 5.4.1, Qt Creator 3.3.2, Mac OSX Yosemite I have tried to organize my qml files using QRC prefix Actual QML file locations: $projectdir$/qml/qml.qrc $projectdir$/qml/main.qml $projectdir$/qml/sm/list.qml qml.qrc resource definiton as seen in Qt Creator: Resources >>>qml (dir) >>q

Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-15 Thread mark diener
at 12:35 PM, mark diener wrote: > Mr Li And Rest: > > You are correct about the qsTr("Exit") . It now works. Thank you for that > information. > > What is someone interesting is the display of the application name next to > the Apple Icon in the menu bar. > >

Re: [Interest] MenuBar QML not usable on Yosemite OSX

2015-04-15 Thread mark diener
{ >> >> id: mainmenu >> >> Menu >> >> { >> >> title: qsTr("Mockup") >> >> MenuItem >> >> { >> >> text: qsTr("Exit") &

[Interest] MenuBar QML not usable on Yosemite OSX

2015-04-14 Thread mark diener
Hello: Tried using a MenuBar QML component with a Window component on OSX yosemite, but the Menubar does not appear at all. Anybody have a tip on menubar visibility or usage on OSX? (Any gotchas in windows?) Thanks all, md import QtQuick 2.4 import QtQuick.Window 2.2 import QtQuick.Contro

Re: [Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
at 7:12 AM, mark diener wrote: > FYI: I added CONFIG += debug to my pro file to no avail. > > > http://stackoverflow.com/questions/19562522/debugging-android-app-on-target-in-qtcreator > > > On Sat, Apr 11, 2015 at 7:01 AM, mark diener wrote: > >> Hello: >>

Re: [Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
FYI: I added CONFIG += debug to my pro file to no avail. http://stackoverflow.com/questions/19562522/debugging-android-app-on-target-in-qtcreator On Sat, Apr 11, 2015 at 7:01 AM, mark diener wrote: > Hello: > > > When running a debug session android, during build and deploy, Qt

[Interest] Qt Creator 3.3.2 / Android Debug

2015-04-11 Thread mark diener
Hello: When running a debug session android, during build and deploy, Qt creator is popping up with 2 or 3 modeless dialog boxes that say: This does not seem to be a "Debug" build. Setting breakpoints by file name and line number may fail. Section .debug_info: Not found. Section .debug_abb

[Interest] QML Loader sourceComponent Dynamic selection (not source property)

2014-11-16 Thread mark diener
Even: A couple months back you gave an intelligent answer from a interest list query about creating complex list views. I was a little tied up with things and could not get around to actually create a working example of a complex list view. Now is that time. Maybe you could get me past some imp

[Interest] applicationStateChanged in QML

2014-08-14 Thread mark diener
Does anybody know how to receive application signals from QGuiApplication in Qt Quick 2.0 application? I do not want to use a binding The signal coming from QGuiApplication ->void *applicationStateChanged * (Qt::Applicat

[Interest] ListView Focus Style

2014-08-14 Thread mark diener
Does anybody know how to give a visible clue to users that a given component has gained focus and is now receiving user input. For a textinput, the blinking cursor cursorVisible = true works fine. What about buttons or listview? Any ideas? Thanks, md __

[Interest] Loader keyboard problem

2014-08-13 Thread mark diener
I am having some strange behavior with a Loader sample program for QtQuick 2.2 The Listview on Screen1.qml works Here is the main.qml file: import QtQuick 2.2 import QtQuick.Window 2.1 Window { id: mainwindow visible: true width: Screen.width height: Screen.height color: "bl