Re: [Development] Nominating Sona Kurazyan as approver

2019-08-09 Thread Ryan Chu
+1 from Ryan


Best regards,

Ryan


From: Development  on behalf of Shawn 
Rutledge 
Sent: Friday, August 9, 2019 2:51 PM
To: development@qt-project.org 
Subject: Re: [Development] Nominating Sona Kurazyan as approver

+1

> On 9 Aug 2019, at 12:42, Alex Blasche  wrote:
>
> Hi all,
>
> I'd like to nominate Sona Kurazyan as approver for the Qt Project. Sona 
> ensured the release of QtCoap by bringing it to a releasable state and 
> lately, she has been all over Qt doing major cleanups related to deprecated 
> Qt APIs and Qt 6.
>
> Here is his list of contributions:
> https://codereview.qt-project.org/q/owner:sona.kurazyan%2540qt.io
> And reviews:
> https://codereview.qt-project.org/q/reviewer:sona.kurazyan%2540qt.io
>
> Cheers,
> --
> Alex
> ___
> Development mailing list
> Development@qt-project.org
> https://lists.qt-project.org/listinfo/development

___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] How to use Q_IMPORT_PLUGIN macro together with *.pri files?

2018-11-07 Thread Ryan Chu
Hi,


If you can share more information (e.g. sample code), it would be easier to 
figure  out the problem. Before that, have you tried QTPLUGIN for the linking 
failure?


Best regards,

Ryan



From: Development  on behalf 
of Denis Shienkov 
Sent: Saturday, November 3, 2018 10:48 PM
To: development@qt-project.org; Oswald Buddenhagen; Thiago Macieira
Subject: [Development] How to use Q_IMPORT_PLUGIN macro together with *.pri 
files?

Hi guys,

I need to create a 'static' plugin for the iOS, using qmake.
A problem is that the qmake can't generate a valid XCode project file, using 
dependencies.

See, e.g. this bug: https://bugreports.qt.io/browse/QTBUG-71566.
So, I can't use XCode to deliver my application to AppStore.

Instead of using a static plugins I want to include and compile my plugins via
my-plugin.pri files.

But it does not work, because linking failed when I use this code:

...

Q_IMPORT_PLUGIN(MyPlugin)

...

with an error, like:


Undefined symbols for architecture x86_64:

"qt_static_plugin_BasicToolsPlugin()", referenced from:

StaticBasicToolsPluginPluginInstance::StaticBasicToolsPluginPluginInstance() in 
main.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Is any workaround to avoid this and to use a 'static' plugins in a fom of a 
*.pri files?

BR,
Denis

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Does QGeoPositionInfoSource work from an Android service?

2018-10-25 Thread Ryan Chu
Hi Denis,


> but a service, seems, crashed at all (at least I did not see any debugging 
> log from the logcat).


Regarding to the "crashed symptom", have you checked the value of 'ps' before 
setting setUpdateInterval?


(Qt Docs - QGeoPositionInfoSource::createDefaultSource)

"Returns 0 if the system has no default position source, no valid plugins could 
be found or the user does not have the permission to access the current 
position."


Best regards,

Ryan



From: Development  on behalf 
of Denis Shienkov 
Sent: Wednesday, October 24, 2018 6:31 PM
To: development@qt-project.org; Alex Blasche; BogDan Vatra
Subject: [Development] Does QGeoPositionInfoSource work from an Android service?

Hi all,

I tried to make it work from the Android service:


#include 

#include 

#include 

#include 


Q_LOGGING_CATEGORY(APP, "bug.svc")


int main(int argc, char *argv[])

{

QAndroidService::setAttribute(Qt::AA_EnableHighDpiScaling);

QAndroidService app(argc, argv);


qCDebug(APP) << "I'm service";


const auto t = new QTimer(qApp);

QCoreApplication::connect(t, ::timeout, []() {

static int counter = 0;

qCWarning(APP) << "CNT:" << counter;

++counter;

});

t->start(1000);


const auto ps = QGeoPositionInfoSource::createDefaultSource(qApp);

QCoreApplication::connect(ps, ::positionUpdated,

  [=](const QGeoPositionInfo ) {

const auto coord = update.coordinate();

qCDebug(APP) << "CRD:" << coord;

});

ps->setUpdateInterval(3000);

ps->startUpdates();


return app.exec();

}

but a service, seems, crashed at all (at least I did not see any debugging log 
from the logcat).

But if I try to cemment out all code, related to the locations, and keep a code 
with the timer,
then I see the counters output.

I tried it on Android x86 && Qt 5.11.2 && Android API 21.

E.g. from here: 
https://stackoverflow.com/questions/13345002/locationmanager-in-service
[https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-i...@2.png?v=73d79a89bded]

android - LocationManager in service - Stack 
Overflow
stackoverflow.com
Tour Start here for a quick overview of the site Help Center Detailed answers 
to any questions you might have Meta Discuss the workings and policies of this 
site ...


I see that it is possible to wotk with Android's LocationManager from the 
service... BUT,
it does not work with QGeoPositionInfoSource!

BR,
Denis




___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Repository request: Qt Notifications

2018-01-16 Thread Ryan Chu
Thanks, Jake. It seems to be a better naming.


- Revise the module name of my request


Hi all,

I'm working on a task supporting "Push Notification" for Qt applications. This 
feature will be implemented on Android and iOS devices as the first stage. A 
new module called "Qt Notifications" will be created for all platforms. 
Therefore I request a repository.

The first draft of this work was implemented in QtAndroidExtra 
https://codereview.qt-project.org/#/c/216407/. That would have added its 
3rdparty libraries to every application, even if this feature is not used. A 
standalone module makes it possible for users to include or exclude this 
feature.

Name of the project: Qt Notifications
Responsible person: Ryan Chu
Gerrit user/email: ryan@qt.io<mailto:ryan@qt.io>
Desired repository name: qtnotifications

Best regards,
Ryan Chu


From: Jake Petroules
Sent: Monday, January 15, 2018 4:33 PM
To: Ryan Chu; development@qt-project.org
Subject: Re: [Development] Repository request: Qt Notifier

“Qt Notifications” (qtnotifications) would be more grammatically in line with 
the rest of our repository names.

--
Jake Petroules - jake.petrou...@qt.io
The Qt Company - Silicon Valley
Qbs build tool evangelist - qbs.io

From: Development <development-bounces+jake.petroules=qt...@qt-project.org> on 
behalf of Ryan Chu <ryan@qt.io>
Sent: Monday, January 15, 2018 4:25:20 PM
To: development@qt-project.org
Subject: [Development] Repository request: Qt Notifier

Hi all,

I'm working on a task supporting "Push Notification" for Qt applications. This 
feature will be implemented on Android and iOS devices as the first stage. A 
new module called "Qt Notify" will be created for all platforms. Therefore I 
request a repository.

The first draft of this work was implemented in QtAndroidExtra 
https://codereview.qt-project.org/#/c/216407/. That would have added its 
3rdparty libraries to every application, even if this feature is not used. A 
standalone module makes it possible for users to include or exclude this 
feature.

Name of the project: Qt Notify
Responsible person: Ryan Chu
Gerrit user/email: ryan@qt.io<mailto:ryan@qt.io>
Desired repository name: qtnotify

Best regards,
Ryan Chu

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Repository request: Qt Notifier

2018-01-15 Thread Ryan Chu
Hi all,

I'm working on a task supporting "Push Notification" for Qt applications. This 
feature will be implemented on Android and iOS devices as the first stage. A 
new module called "Qt Notify" will be created for all platforms. Therefore I 
request a repository.

The first draft of this work was implemented in QtAndroidExtra 
https://codereview.qt-project.org/#/c/216407/. That would have added its 
3rdparty libraries to every application, even if this feature is not used. A 
standalone module makes it possible for users to include or exclude this 
feature.

Name of the project: Qt Notify
Responsible person: Ryan Chu
Gerrit user/email: ryan@qt.io<mailto:ryan@qt.io>
Desired repository name: qtnotify

Best regards,
Ryan Chu

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development