Re: [Interest] Qt 5.6 beta prebuild binaries for VS2015

2015-11-24 Thread NoRulez
Hello Thiago,

thank you very much for the detailed answer.

Best Regards

> Am 24.11.2015 um 19:42 schrieb Thiago Macieira :
> 
>> On Tuesday 24 November 2015 11:14:43 Jeff Tranter wrote:
>> It is up to the release team. I think they are due to meet today and
>> should post the minutes the Qt Releasing mailing list.
> 
> We met today and the result is that qt5.git branch 5.6 is not passing the 
> build in the Continuous Integration system.
> 
> Therefore, as I said, it will be released when it compiles, packages and the 
> packages are sanity-checked. It doesn't compile yet.
> 
> I can't tell you how long that will take. If everything started working right 
> now, it would be 2 days to do all the tasks. But we don't know what other 
> issues we'll find. So the release date is any time between Thursday and three 
> weeks from now.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> ___
> 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


Re: [Interest] Qt 5.6 beta prebuild binaries for VS2015

2015-11-24 Thread Thiago Macieira
On Tuesday 24 November 2015 11:14:43 Jeff Tranter wrote:
> It is up to the release team. I think they are due to meet today and
> should post the minutes the Qt Releasing mailing list.

We met today and the result is that qt5.git branch 5.6 is not passing the 
build in the Continuous Integration system.

Therefore, as I said, it will be released when it compiles, packages and the 
packages are sanity-checked. It doesn't compile yet.

I can't tell you how long that will take. If everything started working right 
now, it would be 2 days to do all the tasks. But we don't know what other 
issues we'll find. So the release date is any time between Thursday and three 
weeks from now.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt 5.6 beta prebuild binaries for VS2015

2015-11-24 Thread Jeff Tranter
It is up to the release team. I think they are due to meet today and 
should post the minutes the Qt Releasing mailing list.


On 15-11-24 10:39 AM, NoRulez wrote:

For sure, I know

But I thought you could give us an approximate date, because 
https://wiki.qt.io/Qt-5.6-release isn't up to date.

Thanks
Best Regards


Am 24.11.2015 um 16:17 schrieb Thiago Macieira :


On Tuesday 24 November 2015 14:32:42 NoRulez wrote:
Ok thank you.
Do you know the release date for the beta?


When it compiles, packages and those packages passes sanity testing.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
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




--
Jeff Tranter, Engineering Manager, Integrated Computer Solutions.
ICS - Delivering World-Class Applications for Embedded & Mobile Devices
http://ics.com/services/
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] qmake's visual studio generator does not handle recursive subdir templates

2015-11-24 Thread Kalinowski Maurice
> >
> 
> Thanks everyone. After you confirmed that it should work, I had another
> close look. I had the template = subdirs set, but qmake gives me warnings [1]
> that it cannot find several *.vcxproj files. While analyzing the logs, I 
> found out
> that I used an out-of-source build and qmake expected the *.vcxproj in the
> source folder instead of the build folder. If I run the exact same command in
> the source folder, everything is perfectly working as you said.
> 
> So I assume I just hit a small bug in qmake, that it cannot handle out-of-
> source builds properly.
> 
> Cheers R.
> 
> [1]
> ...
>Reading
> C:/projects/vatsim/swift/src/plugins/simulator/xplaneconfig/xplaneconfig.pr
> o
> [C:/projects/vatsim/build-swift-Desktop_Qt_5_5_1_MSVC2013_32bit-
> Debug/src/plugins/simulator/xplaneconfig]
> WARNING: Ignored (not found)
> 'C:/projects/vatsim/swift/src/plugins/simulator/fscommon\simulatorfscom
> mon.vcxproj'
> ...
> 
[Kalinowski Maurice] 
Could you please file a bugreport at https://bugreports.qt.io/ with some short 
example.

BR,
Maurice
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt 5.6 beta prebuild binaries for VS2015

2015-11-24 Thread NoRulez
Ok thank you.
Do you know the release date for the beta?

Best Regards

> Am 21.11.2015 um 21:22 schrieb Thiago Macieira :
> 
>> On Saturday 21 November 2015 06:56:39 NoRulez wrote:
>> Hi,
>> 
>> are prebuild binaries for VS2015 planned with Qt 5.6 beta?
> 
> Yes, there will be VS2015 binaries. I don't know whether they'll be RTM or 
> Update 1 releases, though. I'd rather they were Update 1 since we'll have 
> near 
> complete C++11 support with that one.
> 
>> What is the current release date for the Qt 5.6 beta, because in the wiki is
>> 19th nov. but it isn't released yet.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> ___
> 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


Re: [Interest] Native library for Android using Qt

2015-11-24 Thread Захаров Александр Владимирович
No, we are trying to use Qt-based native (i.e. written in C++ and 
compiled to binary) library from a Java Android program. JNI can be used 
both ways, for calling native code from Java and for calling Java code 
from a native code.


24.11.2015 15:55, jh...@gmx.com пишет:

I think you may be going about this the wrong way.  JNI is for getting to 
android or providing to Android.  If you want to use a native library with Qt,  
then just use it.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Native library for Android using Qt

2015-11-24 Thread jhihn
I think you may be going about this the wrong way.  JNI is for getting to 
android or providing to Android.  If you want to use a native library with Qt,  
then just use it.  

-Original message-
Sent: Monday, 23 November 2015 at 07:37:19
From: "Захаров Александр Владимирович" 
To: interest@qt-project.org
Subject: [Interest] Native library for Android using Qt
We are trying to develop a library using Qt components for use from a 
usual Java-based Android application. We have managed to write JNI code 
and call a function from the library. However, the library is using some 
GUI components (although it does not show anything on the screen) and at 
one point (specifically, when creating a QTextDocument object) it 
crashes with an exception in QFontLibrary code.

We have found that the library seems to require a valid QApplication 
object (when using QCoreApplication instead, it does not work). The 
library has one class implementing a singleton pattern with a single 
static method to be called from JNI. Is it possible to create a 
QApplication object in the class constructor? We tried to do it, but got 
and error:

This application failed to start because it could not find or load the 
Qt platform plugin "android".

Where should we place the plugins for the library and how to load them?

With best regards, Alexander
___
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


Re: [Interest] Qt 5.6 beta prebuild binaries for VS2015

2015-11-24 Thread NoRulez
For sure, I know 

But I thought you could give us an approximate date, because 
https://wiki.qt.io/Qt-5.6-release isn't up to date.

Thanks 
Best Regards

> Am 24.11.2015 um 16:17 schrieb Thiago Macieira :
> 
>> On Tuesday 24 November 2015 14:32:42 NoRulez wrote:
>> Ok thank you.
>> Do you know the release date for the beta?
> 
> When it compiles, packages and those packages passes sanity testing.
> 
> -- 
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
> 
> ___
> 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


Re: [Interest] qmake's visual studio generator does not handle recursive subdir templates

2015-11-24 Thread Bo Thorsen

Den 24-11-2015 kl. 08:45 skrev Roland Winklmeier:

Am 24.11.2015 um 07:57 schrieb Bo Thorsen:

Den 23-11-2015 kl. 20:09 skrev Roland Winklmeier:

I'm working together with a team on a medium complex project. Our build
system is qmake and since some of us had previous experience with cmake,
we introduced a project structure with subdirs. It looks similar to the
following:

project.pro (subdirs)
|-- src.pro (subdirs)
  |-- lib1.pro (lib)
  |-- lib2.pro (lib)
  |-- plugins.pro (subdirs)
  |-- plugin1.pro (lib)
  |-- plugin2.pro (lib)
[...]

This gives us a nice hierarchical structure and all works nicely as long
as we use QtCreator. But some of us prefer to use native IDE's like
Visual Studio. When trying to create a Visual Studio solution from the
above (with qmake -tp vc -spec win32-msvc2013 -r), a *.sln is created
for each subdirs template instead of tracking them as child projects. So
project.sln does not contain any projects.

Do we hit a missing feature/bug in qmake or is it me using the subdirs
template incorrect?
I got the idea from qtbase which also has recursive subdirs.


This definitely works, I use it all the time. You need to show us some
of your pro files before we can help you.

Do you have "TEMPLATE = subdirs" in the file that has the SUBDIRS list?

Bo Thorsen,
Director, Viking Software.



Thanks everyone. After you confirmed that it should work, I had another
close look. I had the template = subdirs set, but qmake gives me
warnings [1] that it cannot find several *.vcxproj files. While
analyzing the logs, I found out that I used an out-of-source build and
qmake expected the *.vcxproj in the source folder instead of the build
folder. If I run the exact same command in the source folder, everything
is perfectly working as you said.

So I assume I just hit a small bug in qmake, that it cannot handle
out-of-source builds properly.


No again. I also use out of source all the time with subdirs on windows. 
Works fine. Show us your code if you want help. Please don't file 
bugreports on something that would obviously have been caught years ago 
if it didn't work.


Bo Thorsen,
Director, Viking Software.

--
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest