What would it take to get them implemented?
> Sent: Thursday, December 03, 2015 at 4:46 AM
> From: "Lopes Yoann"
> To: "Jason H"
> Cc: interest
> Subject: Re: [Interest] Do Camera.videoRecorder options matter?
>
>
> > On 02 Dec 2015, at 23:49,
te
> and Camera.viewfinder.maximumFrameRate.
>
>
> > On 03 Dec 2015, at 14:58, Jason H wrote:
> >
> > What would it take to get them implemented?
> >
> >
> >> Sent: Thursday, December 03, 2015 at 4:46 AM
> >> From: "Lopes Yoann&qu
When I layout text for a screen, and am using Text.fontSizeMode, I'd like to be
able to determine the current size of the font so that I can size other Text*
accordingly.
"The font size of fitted text has a minimum bound specified by the
minimumPointSize or minimumPixelSize property and maximum
I'm trying to make an app that records video, but I am having a number of
issues.
https://wiki.qt.io/Qt_5.5.0_Multimedia_Backends <- reference doc
iOS:
1. Only default recording params are configured (Yoann mentioned this last week)
Android:
1. Android actually has an X for "Video encoder settin
I do mobile, so some of the limitations of Qt are starting to become apparent.
In particular:
1. Local/Push Notifications support. We need platform independent coverage.
Each platform provides the same basic approach to binding to push
notifications.
I have boilerplate code for iOS that I
Sent: Monday, December 07, 2015 at 10:23 AM
From: "Nuno Santos"
Jason,
...
I use Parse to handle Push notifications for me
(www.parse.com[http://www.parse.com]). Have you tried it? It saves you a lot of
hassle.
...
Nuno
I have heard of Psrse, and that they have push notifications,
I have an object with the following member function:
QString hashData(QCryptographicHash::Algorithm alg, QString filename, bool
useSalt=false);
First, 1 get:
Error: Unable to determine callable overload. Candidates are:
hashData(QCryptographicHash::Algorithm,QString)
hashData(QCryptograp
Whenever I give a default parameter value in C++ (where the bool=true below) I
get this error:
Error: Unable to determine callable overload. Candidates are:
hashFile(QCryptographicHash::Algorithm,QString)
hashFile(QCryptographicHash::Algorithm,QString,bool)
Removing the default value re
I continually run into situations in QML where I'm being given a Url. Normally
these are file://... When I take my C++ api, expose it to QML and pass these
values from QML to the C++ api, things don't work, and as a result I have to
add if (filename.startsWith("file://")) {..trim it...} everywhe
> Well, you mentioned toLocalFile, so I assume you already know that "trim
> it" should actually use that. Also:
>
> if (uri.scheme() == "file")
>
> > Why isn't there a *static* QUrl::toLocalFile()?
>
> What would that mean? A URI can be converted to a local file name. What
> input would you
> >
> > if (uri.scheme() == "file")
>
> Better:
> if (uri.isLocalFile())
>
> QUrl caches internally whether the scheme() is "file", so there's no string
> comparison.
Thanks Thiago, that's good to know!
___
Interest mailing list
Interest@qt-
> >> Caveat: I don't use QML. If that's giving you QString's that really
> >> should be QUrl's, I'd be complaining about that...
> >
> > It does.
>
> Can you elaborate more about your scenario? Do you have a property of
> type QString (string in QML) and you're assigning a value of type QUrl
> (u
>
> My very first Qt app is large and a little sloppy in
> that the QWidget::update() function is being called
> *someplace* where it should not, This is causing
> unnecessary repaints.
>
> Is there one place I can put a break to find the calls
> which actually cause a repaint (and not the calls
> Sent: Thursday, December 17, 2015 at 11:45 AM
> From: "william.croc...@analog.com"
> To: No recipient address
> Cc: "interest@qt-project.org"
> Subject: Re: [Interest] Unnecessary repaints.
>
> On 12/17/2015 11:16 AM, Jason H wrote:
> >
>
>
> If I call:
>
> QWidget::update() and
> QWidget::updateGeometry()
>
> Can I assume the layout request would be processed first and
> then any repaints would take place.
>
> In general can I assume that all layout requests would be serviced
> upon return to the event loo
So this bug from 8 months ago I guess landed in 5.5.1?
I'm still having the issue, or a similar one. Thanks to the source code in the
review ( 0559f645bbe928e9a54666356409fce444e80c57 |
https://codereview.qt-project.org/#/c/111387/ )
I was able to figure out a work around: guard my camera.stop
> Sent: Thursday, December 17, 2015 at 4:24 PM
> From: "william.croc...@analog.com"
> To: interest@qt-project.org
> Subject: Re: [Interest] Unnecessary repaints.
>
> Well, the code deep inside of QWifget::updateGeometry boils down to this.
> My call results in the postEvent. I assume that would
I think this is new behavior, please correct me if I am wrong. This may be a
5.5.1 issue or a recent android change. However I think previously the app
would initialize without pausing. The pause occurs when the device screen is
locked and only resumes when it is unlocked. It would be really nic
Per http://doc.qt.io/qt-5/qml-size.html, I should be able to set the size using
a string "WIDTHxHEIGHT" but this has never worked. Only Qt.size(width, height).
Is this a bug or am I doing something wrong?
camera.videoRecorder.resolution = Qt.size(targetResolution.width,
targetResolution.height
I have a C++ set of functions where I open(), pump() /*n times*/, close(). I
have the QML UI thread do the pumping because I want to update a status bar.
It's the only thing that the app is doing (and should be doing), so I'm not
worried about the UI being jittery. Previously in C++/Widgets, I c
> Sent: Monday, December 28, 2015 at 4:49 PM
> From: "william.croc...@analog.com"
> To: "interest@qt-project.org"
> Subject: [Interest] Distance from point to path.
>
> Hello:
>
> Given a QPoint and a QPainterPath.
> How do I find the distance from the QPoint to the
> closest point along the Q
I've never done it, but I would try to subsclass QNetworkAccessManager and QNetworkReply (QIODevice subclass) and have your derived ThrottledNetworkAccessManager return a ThrottledNetworkReply, in which you only read according to your throughput calculation. Once the OS TCP connection buffers are
I'm trying to use a library that uses std::strings. However when the string is
assigned, I get a crash at 0xdeadcab1
(see
https://android.googlesource.com/platform/ndk/+/bfa632c/sources/cxx-stl/gabi++/src/terminate.cc#52)
I think this is because I am improperly linking the library. Can anyone te
> > Fair enough :) You could always try filing a feature request and see
> > what people think.
> >
>
> People will think, "What has this got to do with QML"?
>
Quaternion Math Library?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-
> Sent: Wednesday, December 30, 2015 at 6:48 PM
> From: "Thiago Macieira"
> To: interest@qt-project.org
> Subject: Re: [Interest] Using std::string in android projects
>
> On Wednesday 30 December 2015 23:05:02 Jason H wrote:
> > I'm trying to use a libra
Obligatory RTFM:
http://stackoverflow.com/questions/11662644/compile-ndk-code-using-gnu-libstd[http://stackoverflow.com/questions/11662644/compile-ndk-code-using-gnu-libstdc]
I read that, but I don't know how it relates to Qt projects. I'm not using an
Android.mk as far as I can tell, I'm just
> That's the std::terminate's default handler. That handler is called when an
> exception is thrown but not caught. What exception was thrown? Can you put a
> catch block to see what it was?
I tried that, but it is crashing in not-my-code. I wrapped the areas with
try/catch where I use the std
> Hi,
> I am adapting existing code from QTcpSocket to QLocalSocket (The TCP code
> was used for distributing computations over a network, but since I also want
> to separate the local computation in a sub-process, I'm using the TCP > code
> for IPC using QLocalSocket).
> On the server side, t
> 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
> It seems that win32 implementation of QLocalSocket is not so good, there are
> many issues which prevent plain replacement of QTcpServer/Socket by
> QLocalServer/Socket
Why can't you just connect through loopback interface? (127.0.0.1)
___
Interest
> Sent: Tuesday, January 05, 2016 at 1:33 PM
> From: "mark diener"
> To: "Ben Lau"
> Cc: "interest@qt-project.org" , BogDan
>
> Subject: Re: [Interest] Qt 5.5.1+ Android Activity Theme & OpenGL
>
> Ben:
>
> Thanks for the link.
>
> I am finding that putting a white.png file for the
> androi
The line "The QML engine provides automatic type conversion between QVariantList and _javascript_ arrays, and between QVariantMap and _javascript_ objects." Is not to be missed. It's pretty awesome stuff.
Sent: Tuesday, January 05, 2016 at 2:06 PM
From: "Dmitry Volosnykh"
To: willemfergu...@z
I'm not looking for a Android primer, but I am looking on a primer on how to
get the Qt/QtCreator to play nice with a subclassed application and activity.
Ideally, I'd like to add the .java files somewhere and get up and running.
I've read
http://doc.qt.io/qt-5/deployment-android.html
http://do
Don't take this the wrong way... I've written production-level HTTP SSL servers in Qt before, and I've even requested/suggested there be a Qt C++ server framework. So take this as advice from a veteran.
Well, you should use QCoreApplication (drop the GUI), you never call startSeverEncrption(),
I have a progress bar (Rectangle) that I update the width on a fairly regular
interval. I've tried using SmoothedAnimation, but it smoothly fills, pauses,
then fills some more. I've read the docs that talk about velocity, but as far
as I am concerned, this should be automatic. Velocity should be
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 seems that once a XMLHttpRequest fails, even after if I reenable wifi, Qt
will always immed
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-
There are a few things I'd like to add to the documentation, but the barrier to
entry is too high.
I'm wondering if we could allow comments by users (or those with bugreports
account, or has an an account and is authorized) to be able to comment on the
online help? I found the PHP comments helpf
> Op 12/01/2016 om 16:17 schreef Gian Maxera:
> >> On 12 Jan 2016, at 15:11, André Somers wrote:
> >>
> >> Op 12/01/2016 om 15:57 schreef Jason H:
> >>> There are a few things I'd like to add to the documentation, but the
> >>> barrier
Aliasing ../../../qtrepotools/git-hooks/gerrit_commit_msg_hook
as qt3d/.git/hooks/commit-msg ...
Cannot create forwarding script qt3d/.git/hooks/commit-msg: Not a directory
What should I do?
___
Interest mailing list
Interest@qt-project.org
http://
What are your thoughts with extending StackView (maybe a derived class called
'ScreenStack' or 'ActivityStack')
I've done a number of mobile-paradigm based apps, and seem to be convergently
evolving the same pattern.
main.qml {
ScreenStack {}
Screen1 {}
Screen2 {}
Screen3 {}
Screen4 {}
}
Scree
My phone finally got the OTA update for marshmallow - but I have not installed
it yet.
I am developing with Qt on Android. Is there anyone else here that has 6.0? Any
issues developing for Android? Not that it matters, but my host platform is OSX.
Many thanks in advance
___
I am implementing a model where items have a "check" property. The GUI calls it
a Toggle.
If the first item is checked, all other items should be unchecked, and vice
versa. In my delegate I have:
Toggle {
id: toggle
checked: check
onCheckedChanged: {
mod
It seems the login now requires an @, and something is amiss in my account.
Can someone look into it? The password reset link isn't working. I'm not sure
which email domain it is going to, but none of them have received a password
reset link.
___
Inte
> Sent: Thursday, January 21, 2016 at 11:37 AM
> From: "Thiago Macieira"
> To: interest@qt-project.org
> Subject: Re: [Interest] Can't login to bugreports
>
> On Thursday 21 January 2016 16:18:52 Jason H wrote:
> > It seems the login now requires an
> Sent: Thursday, January 21, 2016 at 1:42 PM
> From: "Matthew Woehlke"
> To: interest@qt-project.org
> Subject: Re: [Interest] Can't login to bugreports
>
> On 2016-01-21 11:37, Thiago Macieira wrote:
> > On Thursday 21 January 2016 16:18:52 Jason H wrot
> Sent: Thursday, January 21, 2016 at 3:15 PM
> We will not be able to use the FFmpeg library for video generation from
> our Qt application. Are there any other tools/products usable with Qt
> which can do basic generation of video files, given a sequence of
> QImages or QPixmaps? We don't nee
Look for something called DevicePixelRatio... Also QML Screen attached property/element. It might be a shortcoming in Qt, but you should be able to work around it.
Sent: Friday, January 22, 2016 at 8:57 AM
From: "Edward Sutton"
To: "Qt Interest"
Subject: [Interest] Pixmap redraw on OS
> Sent: Thursday, January 21, 2016 at 11:07 PM
> From: "Glenn Ramsey"
> To: interest@qt-project.org
> Subject: [Interest] How to get number of channels from QAudioDeviceInfo
>
> Hi,
>
> I would like to use the Qt5.x QtMultiMedia to output sound independently on
> multi-channel devices such as 5
FFMPEG is a utllity and a library.
I would investigate using FFMPEG from a command line using QProcess, rather than linking to it directly.
Sent: Friday, January 22, 2016 at 5:34 PM
From: "rpzrpz...@gmail.com"
To: interest@qt-project.org
Subject: Re: [Interest] Video file generation fr
Is there anything I can do to get it as portrait? The app is locked to
portrait, but it only records landscape video, so all the videos need to be
rotated 270.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listi
Sorry I can't be more articulate, but here's what happened that lead to this
posting.
I have an app on iOS and Android. I'm compiling android against 5.6 because the
beta has some fixes I need. I accidentally compiled the iOS version against 5.6
instead of 5.5.1 because I clicked on the wrong k
> What's the difference between qpm.io and inqlude.org?
I use neither, but it looks like qpm.io is a npm-style site that uses a package
manager to do the downloading for you. NPM is highly successful. With node, you
have package.js in the project root that lists your dependencies and their
ve
> In the application am writing I can work around not being able to detect the
> actual number of channels on a device but I do need to be able to send sound
> data independently to each channel. Is this possible with Qt?
I have no idea. You're looking at the code. My guess is no, that you'll ne
Well your QImages are going to display device optimized, your video needs to be YUV (or some other video format) There exists a multitude of utlities that can take images and use them as frames. FFMPeg is one. GraphicsMagick (Like ImageMagick but MIT licensed) is another. Availible as exe or libra
> The most helpful initiatives for Qt is the one that de-fragments it. Qt
> community isn't big enough to cut it into pieces...
I completely agree. We are too small to be fragmented. We should resolve this
sooner than later. I also like the idea that it gets carried forth by an
organization -
I did a in-place build, then realized I wanted to do both OSX and iOS, so I
make the build directories.
When I try to compile:
You cannot make a shadow build from a source tree containing a previous build.
Cannot proceed.
I've run: make clean
What do I need to do to be able to build again?
___
> Or, better: git clean -x -d -f. If you're not using git, rm -rf and unpack
> the
> tarball again.
Thanks. I have changes to QtMultimedia. Will those git options keep my changes?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-proj
Ah, nevermind. man git-clean
> Sent: Thursday, January 28, 2016 at 6:00 PM
> From: "Jason H"
> To: "Thiago Macieira"
> Cc: interest@qt-project.org
> Subject: Re: [Interest] Compiling Qt 5.5.1 from source for OSX, iOS
>
>
> > Or, better: git clea
We are talking about using a long-polling technique. As a result, the server
will send `100 continue` until there is data available for the client.
Is this supported in Qt?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/m
> I have experiences in using SVN (as client side user with Tortoise and other
> clients) and I am very satisfied with it. I am a single user and there are no
> plans of any team work.
>
> What version management software should I try to install in your opinion?
Perforce is free for 20 users /
I've been having some build problems, probably of my own fault.
My make distclean failed part of the way though, but it got far enough that the
configure script would proceed.
~/qt5/qtdeclarative/src/3rdparty/masm/yarr/YarrPattern.cpp:39:10: fatal error:
'RegExpJitTables.h' file not found
Advi
Hrm...
Jasons-Mac-mini:qt5.5.1-ios jhihn$ which python
/usr/bin/python
Jasons-Mac-mini:qt5.5.1-ios jhihn$ python --version
Python 2.7.10
How can I recover from it?
Sent: Friday, January 29, 2016 at 9:03 AM
From: "Andrew Knight"
To: "Jason H"
Cc: "interest
So on a whim, I:
bash
cd ~/qt5/qtdeclarative/src/3rdparty/masm
python create_regex_tables > RegExpJitTables.h
exit
make
and it seemed to work.
Sent: Friday, January 29, 2016 at 9:13 AM
From: "Jason H"
To: "Andrew Knight"
Cc: "interest@qt-project.
> Sent: Friday, January 29, 2016 at 10:06 AM
> From: "Matthew Woehlke"
> To: interest@qt-project.org
> Subject: [Interest] OT: perforce (was: Local version control with Qt Creator
> on Linux)
>
> On 2016-01-28 19:54, Thiago Macieira wrote:
> > On Friday 2
/Users/jhihn/qt5/qtconnectivity/src/bluetooth/osx/osxbtledeviceinquiry.mm:313:21:
error:
/Users/jhihn/qt5/qtconnectivity/src/bluetooth/osx/osxbtledeviceinquiry.mm:313:21:
error: property 'UUID' not found on object of type 'CBPeripheral *'
property 'UUID' not found on object of type 'CBPeripheral
Currently, these Apple platforms don't support recording parameters. They use a
hard-coded 1280x720, and as my app wants to upload video, this takes a
considerable amount of time. On Android, we can set the parameters, and get
"reasonable" file sizes and quality. On OSX/iOS, it's about 1 MB *per
Currently, I have a string that I have to manually maintain, is there a way I
can call some function and get my application version (that's in the plist or
manifest)?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/
ot;
> Subject: Re: [Interest] 5.5.1 OSX BTLE compile error - UUID is deprecated
>
> On Friday 29 January 2016 20:49:49 Jason H wrote:
> >> I don't know if this is fixed in 5.6?
>
> >From: Interest on behalf of Thiago
> >Macieira
> >Looks li
> Sent: Friday, February 05, 2016 at 4:36 PM
> From: "Michael Capewell"
> To: interest@qt-project.org
> Subject: Re: [Interest] Where to does Qt expect to find ".qt-license" file
> when running on a Jenkins slave machine?
>
> Edward Sutton subsite.com> writes:
>
> >
> >
> > Kai,
> >
> > Th
Git issues:
0. I'm using Atlassian's Source Tree.
1. I checked out the 5.5.1, and created a branch called osx_recording_params.
SourceTree shows me the [osx_recording_params] in the "SourceTree" window.
2. Things were fine until 5.6 branch happened. Now, the list of pre-5.6
branches is gone.
$
de fevereiro de 2016 23:32:09 PST Jason H wrote:
> > Git issues:
> > 1. I checked out the 5.5.1, and created a branch called
> > osx_recording_params. SourceTree shows me the [osx_recording_params] in the
> > "SourceTree" window.
>
> Mistake. You should ha
I'm trying to push code to gerrit, but I'm having some issues. I've fought
through many already, but I'm at
! [remote rejected] HEAD -> refs/for/dev/osx_recording_params (missing
Change-Id in commit message footer)
error: failed to push some refs to
'ssh://scorp...@codereview.qt-project.org:2
I'm building a modified version of Qt, I'm not used new to Objective-C. I have
to include AVFoundation.h, because it has NSString key IDs, but when I do, the
moc_ version of the file bombs out. How do I fix this?
In file included from .moc/debug/moc_avfaudioencodersettingscontrol.cpp:9:
In file
lled then you can trigger it by editing the
> commit log message via for example "git commit --amend" or git rebase.
>
> The hook itself will generate the change-id.
> --
> Alex
>
> ________
> From: Interest on behalf of Jason H
>
> > Not sure why it got deleted. They are free.
>
> It's free to keep it in the repository, but it adds noise to, say,
> `git branch -r` (command line). The number of Qt versions only grows
> over time.
>
> Also, a branch is for making commits. Since no more commits are
> accepted for Qt 5.5.1, i
> Em segunda-feira, 8 de fevereiro de 2016, às 16:14:53 PST, Jason H escreveu:
> > I'm building a modified version of Qt, I'm not used new to Objective-C. I
> > have to include AVFoundation.h, because it has NSString key IDs, but when I
> > do, the moc_ version of t
> Sent: Monday, February 08, 2016 at 3:56 PM
> From: "Thiago Macieira"
> To: interest@qt-project.org
> Subject: Re: [Interest] What happened to 5.5.1 branch?
>
> Em segunda-feira, 8 de fevereiro de 2016, às 19:10:59 PST, Jason H escreveu:
> > I still don'
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/NSURLSession_class/index.html
)
(
https://developer.apple.com/library/ios/documentation/General/Reference/Info
It takes forever for my app to link for iOS. Is there anyway to speed this up?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
> MyData object filled with some data and exposed as context property to QML.
> At QML i imported QtPositioning, so QGeoCoordinate refers to coordinate QML
> basic type, but
> console.log(myData.path) prints QVariant(QList)
> console.log(myData.path) prints undefined
> - there is no sequ
Recently, Apple started requiring a 167x167px icon for iPad Pro.
I added the entry to the Info.plist, but was unsure of what to do.
Will the icon be included in the bundle just from from the plist change?
Will I have to rebuild the app?
Will it only update when the .xcodeproj is rebuilt, and if s
I have an app that records video. If the user records more than the display
timeout, the display goes black.
Is there a way in Qt 5.5 or 5.6 to prevent the device sleep? I know android
will require a WAKE_LOCK permissions.
Ideally these this will only be in place while the video recording is ac
I want a QObject class to emit a signal when a function in my app delegate is
invoked. (Code follows) How can I do that? I don't know how to use QObjects in
ObjectiveC
--- PlatformShimImpl.cpp
PlatformShimImpl::PlatformShimImpl(){
qDebug() << Q_FUNC_INFO;
QtAppDelegate *appDelega
There is a step missing in http://www.kdab.com/qt-android-episode-6/
Where we go from importing the build.gradle to somehow having Java source to
start debugging.
Can someone fill in the missing steps?
I didn't find any .java files.
___
Interest mailin
ically
> inside this directory is another gradle file.
>
> Import from that build location and Android Studio will come up and be
> able to process the java files while the compiled so C++ files are
> loaded but not able to step into them as a native library.
>
> That help?
t seem
'Qt' to me.
Many thanks for the insights so far!
> Sent: Wednesday, February 24, 2016 at 8:25 PM
> From: "m...@rpzdesign.com"
> To: No recipient address
> Cc: "Jason H" , "interest@qt-project.org"
>
> Subject: Re: [Interest] An
> Jason:
>
> On 2/24/2016 8:38 PM, Jason H wrote:
> > How does one "regenerate it back into the build directory"?
>
> You want to look at the "use gradle builds" and then generate android
> files in the project android setup in project preferences
t; From: "rpzrpz...@gmail.com"
> To: "interest@qt-project.org"
> Cc: "Jason H"
> Subject: Re: [Interest] Android Studio and Qt
>
> You should look at the episodes 1-7 more carefully before tearing into
> QtActivity.
>
> md
>
> On 2/25/2016
I have to write some native implementation functions (ObjC) for my Qt/QML app.
I'm wondering about having to include/link sqlite library. I'm not really a iOS
guy, just a Qt guy having to hack some native functionality.
Do I have to link another sqlite3? Can I just run the one that Qt uses?
___
> I have to write some native implementation functions (ObjC) for my Qt/QML
> app. I'm wondering about having to include/link sqlite library. I'm not
> really a iOS guy, just a Qt guy having to hack some native functionality.
> Do I have to link another sqlite3? Can I just run the one that Qt us
Is there a static/singleton QNetworkAccessManager that I can get in a Qt app
rather than creating my own? I know there is a QNetworkAccessMangerFactory for
customizing the QNAM that QML gets, but that's not what I'm asking.
Platform is Android, but I'm interested "in general".
QFile *f = new QFile(filename);
f->open(QIODevice::ReadOnly)
...
nam.post(req, f);
...
// sometime later in the finished slot:
finished(QNetworkReply *reply) {
// how to close and delete f ? (The QFile object)
}
Thanks
___
Interest mailing list
Int
Let me expand on this, I can f->setParent(reply), but I also need to delete the
file from disk. If I rely on the parent/child object deletion, I can't get a
change to delete the file.
> QFile *f = new QFile(filename);
> f->open(QIODevice::ReadOnly)
> ...
> nam.post(req, f);
> ...
>
> // someti
So there seems to be some conflicting information out there about how to do
this in Qt.
It seems that in 5.3, because the Qt thread as not the UI thread, everything
worked. then in 5.4, that stopped working? This was supposed to be fixed in
5.5? Anyhow, I'm working with 5.6 now. I have enough o
> Another idea: why don't you use QTemporaryFile?
Thought about it. It takes a template specification which does not allow me to
specify the exact filename. "If the templateName does not contain XX it
will automatically be appended and used as the dynamic portion of the filename."
_
> Sent: Wednesday, March 02, 2016 at 6:26 PM
> From: "Thiago Macieira"
> To: interest@qt-project.org
> Subject: Re: [Interest] Deleting the QNetworkAccessManager post(req, iodev)
> QIODevice?
>
> On quinta-feira, 3 de março de 2016 00:08:38 PST Jason H wrote:
&g
First, I'm not talking about the standard translation features of Qt. Those are
static - the translation file is generated and deployed with the app. I now
need to support an ever-changing list of translations. I want my mobile app to
download the current set of translations and use that. In add
Absolutely fantastic!!!
THANKS!
> Sent: Thursday, March 03, 2016 at 11:04 AM
> From: "Gian Maxera"
> To: "Jason H"
> Cc: "interest@qt-project.org"
> Subject: Re: [Interest] Dynamic translations for mobile apps at runtime?
>
> Hello Jason,
What if you did "-tr-function-alias qsTr=MySingleton.myqsTr" ?
Sent: Thursday, March 03, 2016 at 5:31 PM
From: "Jérôme Godbout"
To: "Julien Cugnière"
Cc: "interest@qt-project.org"
Subject: Re: [Interest] Dynamic translations for mobile apps at runtime?
I test it out, it work as long as the
301 - 400 of 1756 matches
Mail list logo