Re: [Interest] Compiling/Generating the full set of documentation for Qt 5.15.2

2021-01-15 Thread Michael Jackson
```make install_docs```

--
Mike J
 

On 1/15/21, 3:42 PM, "Michael Jackson"  wrote:

I’m slowly adding in more parts of Qt 5.15.2 so that our developers can 
have a fuller experience with Qt. One place that I am coming up short in the 
documentation area though. After I get Qt compiled, I do a “make docs” and then 
“make install” but when I open QAssistant I don’t get any of the documentation 
showing up that I would normally expect. This is my simple build script on 
macOS 10.15 catalina with Xcode 12.3 installed. Not sure what else is needed to 
help solve the problem.

set -e
set -x

umask 022

ARCH=x86_64
VERSION=5.15.2

DEV_ROOT=$HOME/DREAM3D-Dev

cd $DEV_ROOT
rm -rf qt-$VERSION-$ARCH
mkdir qt-$VERSION-$ARCH
cd qt-$VERSION-$ARCH
../qt-everywhere-src-$VERSION/configure \
  --prefix=/Users/Shared/DREAM3D_SDK/Qt$VERSION/$VERSION/clang_$ARCH \
  -platform macx-clang \
  -device-option QMAKE_APPLE_DEVICE_ARCHS=$ARCH \
  -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=10.13 \
  -release \
  -opensource -confirm-license \
  -gui \
  -widgets \
  -no-gif \
  -no-icu \
  -no-pch \
  -no-angle \
  -no-dbus \
  -no-harfbuzz \
  -skip declarative \
  -skip multimedia \
  -skip qtcanvas3d \
  -skip qtcharts \
  -skip qtconnectivity \
  -skip qtdeclarative \
  -skip qtgamepad \
  -skip qtlocation \
  -skip qtmultimedia \
  -skip qtnetworkauth \
  -skip qtpurchasing \
  -skip qtremoteobjects \
  -skip qtscript \
  -skip qtsensors \
  -skip qtserialbus \
  -skip qtserialport \
  -skip qtwebchannel \
  -skip qtwebengine \
  -skip qtwebsockets \
  -skip qtxmlpatterns \
  -nomake examples \
  -nomake tests \
  -make tools

make -j -k
make docs
make install

--
Michael Jackson | Owner, President
  BlueQuartz Software
[e] mike.jack...@bluequartz.net
[w] www.bluequartz.net





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


[Interest] Compiling/Generating the full set of documentation for Qt 5.15.2

2021-01-15 Thread Michael Jackson
I’m slowly adding in more parts of Qt 5.15.2 so that our developers can have a 
fuller experience with Qt. One place that I am coming up short in the 
documentation area though. After I get Qt compiled, I do a “make docs” and then 
“make install” but when I open QAssistant I don’t get any of the documentation 
showing up that I would normally expect. This is my simple build script on 
macOS 10.15 catalina with Xcode 12.3 installed. Not sure what else is needed to 
help solve the problem.

set -e
set -x

umask 022

ARCH=x86_64
VERSION=5.15.2

DEV_ROOT=$HOME/DREAM3D-Dev

cd $DEV_ROOT
rm -rf qt-$VERSION-$ARCH
mkdir qt-$VERSION-$ARCH
cd qt-$VERSION-$ARCH
../qt-everywhere-src-$VERSION/configure \
  --prefix=/Users/Shared/DREAM3D_SDK/Qt$VERSION/$VERSION/clang_$ARCH \
  -platform macx-clang \
  -device-option QMAKE_APPLE_DEVICE_ARCHS=$ARCH \
  -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=10.13 \
  -release \
  -opensource -confirm-license \
  -gui \
  -widgets \
  -no-gif \
  -no-icu \
  -no-pch \
  -no-angle \
  -no-dbus \
  -no-harfbuzz \
  -skip declarative \
  -skip multimedia \
  -skip qtcanvas3d \
  -skip qtcharts \
  -skip qtconnectivity \
  -skip qtdeclarative \
  -skip qtgamepad \
  -skip qtlocation \
  -skip qtmultimedia \
  -skip qtnetworkauth \
  -skip qtpurchasing \
  -skip qtremoteobjects \
  -skip qtscript \
  -skip qtsensors \
  -skip qtserialbus \
  -skip qtserialport \
  -skip qtwebchannel \
  -skip qtwebengine \
  -skip qtwebsockets \
  -skip qtxmlpatterns \
  -nomake examples \
  -nomake tests \
  -make tools

make -j -k
make docs
make install

--
Michael Jackson | Owner, President
  BlueQuartz Software
[e] mike.jack...@bluequartz.net
[w] www.bluequartz.net
 


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


Re: [Interest] qmake bug. Any workaround?

2021-01-15 Thread Alexander Dyagilev
I've created additional .cpp file in which I've just included 
disarm.cpp. This helped.


But I would like to get a solution which will work after any changes are 
made to Detours lib so I do not have to make such modifications in the 
future.


On 1/15/2021 6:36 PM, Allan Sandfeld Jensen wrote:
Rename disarm.cpp to a header file, and include that in two different 
source

files?

'Allan



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


[Interest] Client requested name ".AppleColorEmojiUI", it will get TimesNewRomanPSMT rather than the intended font.

2021-01-15 Thread Nuno Santos
Hi,

Since I’ve upgraded to Qt 5.15.2 I’ve been seeing this warnings when running my 
program as an app extension on iOS:

2021-01-15 16:05:08.219710+ appex[12608:3053837] CoreText note: Client 
requested name ".AppleColorEmojiUI", it will get TimesNewRomanPSMT rather than 
the intended font. All system UI font access should be through proper APIs such 
as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].

Does anybody has a clue on how to avoid them?

Thanks!

Nuno


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


Re: [Interest] qmake bug. Any workaround?

2021-01-15 Thread Allan Sandfeld Jensen
On Freitag, 15. Januar 2021 15:54:25 CET Alexander Dyagilev wrote:
> Hello,
> 
> I am trying to create a .pro file to compile Microsoft Detours lib.
> 
> Failed, it generates linker error:
> 
> detours.obj:-1: error: LNK2019: unresolved external symbol
> DetourCopyInstruction referenced in function DetourAttachEx
> 
> This function is defined in disasm.cpp in case there are no special
> defines existing.
> 
> But, there are disolarm.cpp disolarm64.cpp disolia64.cpp disolx64.cpp
> disolx86.cpp sources which defines platform-depended definitions and
> then includes this disasm.cpp.
> 
> E.g. disolarm.cpp contains of only these 2 lines of code:
> #define DETOURS_ARM_OFFLINE_LIBRARY
> #include "disasm.cpp"
> 
> In this case disasm.cpp defines DetourCopyInstructionARM instead of
> DetourCopyInstruction.
> 
> Qmake has the bug (https://bugreports.qt.io/browse/QTBUG-24906) which
> causes qmake to DROP disasm.cpp from SOURCES because it's included in
> these source files . Thus plain DetourCopyInstruction is not defined
> anywhere.
> 
> If I replace #include "disasm.cpp" lines with file's content, all works
> fine. But this is not a workaround I want.
> 
Rename disarm.cpp to a header file, and include that in two different source 
files?

'Allan


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


Re: [Interest] qmake bug. Any workaround?

2021-01-15 Thread Thiago Macieira
On Friday, 15 January 2021 06:54:25 PST Alexander Dyagilev wrote:
> Is there one which can be used in a real project? Why is this ugly bug
> not fixed yet (8 years has passed)?

Because it's not a bug, it's an intentional feature.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



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


Re: [Interest] SQLite: mystic bug: No query Unable to fetch row error

2021-01-15 Thread Thiago Macieira
On Thursday, 14 January 2021 22:31:19 PST Alexander Dyagilev wrote:
> BLOB, so any arbitrary data is allowed. Thus the reason is not that the
> first byte is 0.

But it might be that the binding is buggy and is not passing the full 16 
bytes.

You can easily confirm or deny this by trying to insert varying binary data 
and seeing if any fails to go through.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



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


[Interest] qmake bug. Any workaround?

2021-01-15 Thread Alexander Dyagilev

Hello,

I am trying to create a .pro file to compile Microsoft Detours lib.

Failed, it generates linker error:

detours.obj:-1: error: LNK2019: unresolved external symbol 
DetourCopyInstruction referenced in function DetourAttachEx


This function is defined in disasm.cpp in case there are no special 
defines existing.


But, there are disolarm.cpp disolarm64.cpp disolia64.cpp disolx64.cpp 
disolx86.cpp sources which defines platform-depended definitions and 
then includes this disasm.cpp.


E.g. disolarm.cpp contains of only these 2 lines of code:
#define DETOURS_ARM_OFFLINE_LIBRARY
#include "disasm.cpp"

In this case disasm.cpp defines DetourCopyInstructionARM instead of 
DetourCopyInstruction.


Qmake has the bug (https://bugreports.qt.io/browse/QTBUG-24906) which 
causes qmake to DROP disasm.cpp from SOURCES because it's included in 
these source files . Thus plain DetourCopyInstruction is not defined 
anywhere.


If I replace #include "disasm.cpp" lines with file's content, all works 
fine. But this is not a workaround I want.


Is there one which can be used in a real project? Why is this ugly bug 
not fixed yet (8 years has passed)?


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