Re: crash in QMLManager destructor

2024-01-08 Thread Thiago Macieira via subsurface
88: aa1303e0 mov x0, x19 > > 8c: a9417bfd ldp x29, x30, [sp, #16] > > 90: a8c24ff4 ldp x20, x19, [sp], #32 > > 94: d65f03c0 ret > > 98: 9400 bl 0x98 > > 0098: ARM64_

Re: crash in QMLManager destructor

2024-01-08 Thread Thiago Macieira via subsurface
is really frowned upon (you can't fail to clean up) and by default all destructors are noexcept, so trying to throw from them causes an immediate std::terminate(). If this is the case, then the question is: what is throwing? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: Mac OS crash report

2023-08-21 Thread Thiago Macieira via subsurface
ch turned up in a recent refactoring but has unfortunately has gone nowhere. I'm not convinced the current code works. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering ___ subsurface

Re: Does BLE scanning / downloading work on Mac OS X 13 for anyone else? (It doesn't for me unless I use the QT6 build)

2023-03-07 Thread Thiago Macieira via subsurface
ime so those cherry-picks failed and were abandoned. That major refactoring is probably the reason why it's working now on Qt 6. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering ___

Re: testprofile on i686

2021-12-02 Thread Thiago Macieira via subsurface
we could turn it on for Subsurface too. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelo

Re: testprofile on i686

2021-11-28 Thread Thiago Macieira via subsurface
xtra precision between operations that the other ones don't. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org http:/

Re: WebKit -> WebEngine

2021-11-06 Thread Thiago Macieira via subsurface
ght "just work" some day, or at least with some effort. After all, the other platforms build with Clang, so it can't be more than some Windows-specific files. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - In

Re: Assistance cross-building Windows target

2021-10-29 Thread Thiago Macieira via subsurface
that Subsurface is not being compiled as C++17. That means your compiler is old. Whether adding the "-std=c++17" / "-std=gnu++17" option would help you or not, I don't know. Recommendation: upgrade your MinGW's GCC. PS: looks like Subsurface is using more C++17 features than my

Re: Subsurface on Apple Silicone

2021-10-25 Thread Thiago Macieira via subsurface
On Sunday, 24 October 2021 18:35:14 PDT Thiago Macieira via subsurface wrote: > > Any pointers, Thiago? > > There was some discussion about only QtPositioning being available... not > sure. I didn't pay attention. I did a quick check to see if the qtlocation > repository w

Re: Subsurface on Apple Silicone

2021-10-24 Thread Thiago Macieira via subsurface
kstations wit lots of cores are for :) Can you try QT += positioning to see if that helps and replacing the #includes? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface maili

Re: Subsurface on Apple Silicone

2021-10-22 Thread Thiago Macieira via subsurface
tlocation is back in 6.2. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bi

Re: Subsurface on Apple Silicone

2021-10-22 Thread Thiago Macieira via subsurface
ct.org/rpms/qt5-qtbase/blob/rawhide/f/sources https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase https://github.com/archlinux/svntogit-packages/blob/packages/qt5-base/trunk/ PKGBUILD#L31-L33 etc. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Arc

Re: Windows crash

2021-03-30 Thread Thiago Macieira via subsurface
d is especially useful when you don't want to recompile. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org http://l

Re: libqtgeoservices_googlemaps.so: undefined symbol: _ZN7QGeoMap25fitViewportToGeoRectangleERK13QGeoRectangle

2020-10-01 Thread Thiago Macieira via subsurface
system-wide. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Windows && sqlite?

2020-09-22 Thread Thiago Macieira via subsurface
onto a Linux and use /usr/bin/sqlite to see if it can read. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering ___ subsurface mailing list subsurface@subsurface-divelog.org ht

Re: Qt version on OpenSuse

2020-07-20 Thread Thiago Macieira via subsurface
I can tell him besides using > the AppImage? There shouldn't be a problem. Is he experiencing a problem? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products ___ subsu

Re: renaming the default branch to 'main'

2020-06-15 Thread Thiago Macieira via subsurface
On Monday, 15 June 2020 13:01:04 PDT Dirk Hohndel via subsurface wrote: > I am at this point working through the steps it will take to rename our > default branch to be 'main Just don't call it MAIN. That's too CVS-y. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) k

Re: Build issues

2020-01-04 Thread Thiago Macieira
ies themselves. Those have a plain, undecorated name like "QtCore". > + '[' '' = 1 ']' > + (( i++ )) > + (( i < 1 )) > > [BTW: What is this?] That's sh -x output, which is showing things after expansion. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: Build issues

2020-01-04 Thread Thiago Macieira
binary resources inside the bundle still point to the original files from the Qt SDK, not the bundled copy of the Qt frameworks. If you use otool -L on each of the binaries inside, can you find out which one still points to that "clang_64" build? -- Thiago Macieira - thiago (AT) macieir

Re: QT 5.13 on Windows/MXE

2019-09-02 Thread Thiago Macieira
; for the QT libraries so it isn't clear exactly where the exception is being > generated. You shouldn't need a debug-and-release build to debug. You can do it the Unix way and build an unsuffixed library with debug symbols and without optimisation. -- Thiago Macieira - thiago (AT) macieir

Re: Large negative pressures

2019-08-09 Thread Thiago Macieira
appens. On all modern machines, it just truncates, no warning. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products ___ subsurface mailing list subsurface@subsurface-divelog.or

Re: Large negative pressures

2019-08-09 Thread Thiago Macieira
is estimated at around 250 gigabars). That would overflow the puny int32_t. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel System Software Products ___ subsurface mailing list subsurface@subsurface-dive

Re: .dev domain

2019-03-01 Thread Thiago Macieira
On Thursday, 28 February 2019 18:31:36 PST Dirk Hohndel wrote: > Eventually (when I find the time), I think I'll migrate this mailing list to > be "de...@subsurface.dev <mailto:de...@subsurface.dev>" ... d...@subsurface.dev? subsurface@subsurface.dev? -- Th

Re: Qt 5.12 and Android arm64 build

2018-11-14 Thread Thiago Macieira
On Wednesday, 14 November 2018 14:03:54 PST Dirk Hohndel wrote: > Will there be an Android Qt 5.12 built with clang? I don't know if it will be pre-built as such, but Clang support is now present in 5.12. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Softw

Re: Qt 5.12 and Android arm64 build

2018-11-14 Thread Thiago Macieira
week and these days it means any RC could be the final release one week later, if nothing major is found. If you have issues, please report them so we decide whether the RC is good or not. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Archi

Re: erreur d'importation

2018-10-26 Thread Thiago Macieira
e. > il n'y a pas eu enregistrement de fichier subsurface.bin There haven't been any modifications to the file subsurface.bin. > j’espère que vous trouverez le problème I hope you'll find this problem. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - I

Re: libdc, libzip, Mac and Android updates

2018-08-05 Thread Thiago Macieira
QML modules as > well for dependencies. Thiago, I thought you might be interested in that > part. Do you have a link? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-07-13 Thread Thiago Macieira
figure -redo Usually, on Windows you want to run configure.bat, but if you've been using the sh script and it works for you, you can do that too. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-07-13 Thread Thiago Macieira
s much simpler and is not as complete. When I have such an issue, I do: rm -rf qmake cmd \ /c config.status If you're in a regular DOS prompt, probably rd /s /q qmake config.status -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect

Re: MXE with Qt5.11.1 and missing map

2018-07-10 Thread Thiago Macieira
On Tuesday, 10 July 2018 18:08:08 PDT Thiago Macieira wrote: > I haven't looked at he macdeployqt tool in a few years, but it shouldn't be > too difficult to fix it. Assuming the other two have copy/pasted code, the > fix should be ported easily too. Quick inspection of the source c

Re: MXE with Qt5.11.1 and missing map

2018-07-10 Thread Thiago Macieira
/pasted code, the fix should be ported easily too. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists

Re: MXE with Qt5.11.1 and missing map

2018-07-10 Thread Thiago Macieira
lication doesn't link to. This could be worked around by explicitly linking to the new library -- except that library has no public symbols to require, so many linkers will just drop it as unnecessary. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel O

Re: QMetaObject::invokeMethod

2018-07-07 Thread Thiago Macieira
y. When the event loop gets to that event, the method you listed gets finally called. Another way of doing the same is by using QTimer::singleShot() with a lambda that carries your parameters. But this wasn't available before Qt 5.4, so there's a lot of code (and muscle memory) using invokeMet

Re: Subsurface on Opensuse Tumbleweed

2018-06-20 Thread Thiago Macieira
usr/lib64/ > libQt5Gui.so.5 > #10 0x7fd01ec586ce in () at /usr/lib64/libQt5Widgets.so.5 > #11 0x7fd01ec58b4c in QHeaderView::mousePressEvent(QMouseEvent*) () at / > usr/lib64/libQt5Widgets.so.5 -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architec

Re: Subsurface on Opensuse Tumbleweed

2018-06-20 Thread Thiago Macieira
5-debuginfo That should resolve the ?? to something useful, and possibly also give us line numbers. PS: I'm experimenting with an optimised build of Qt5 that you can find at https://build.opensuse.org/package/show/ home:thiagomacieira:branches:openSUSE:Factory/libqt5-qtbase --

Re: Subsurface on Opensuse Tumbleweed

2018-06-20 Thread Thiago Macieira
number of warnings until that "QPainter::begin". -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog

Re: [TEST REQUEST] Windows Bluetooth LE build

2018-06-11 Thread Thiago Macieira
l("qt.bluetooth* > = true")); > > and others will apparently just ignore it. Ubuntu installs a global file that overrides. It's up to the user to configure what output they want to see, not the application. The above line needs to be set by the user in the QT_LOGGING_RULES environme

Re: 32-bit Qt

2018-06-07 Thread Thiago Macieira
upport 32-bit. You just won't find a binary for download from qt.io for it. You'll have to compile from source, or use the one from your Linux distribution. If you choose the latter, you'll need to make sure it can install the necessary private headers. -- Thiago Macieira - thiago (AT) maci

Re: Segfault with Qt-5.11.0

2018-05-23 Thread Thiago Macieira
On Wednesday, 23 May 2018 05:08:58 -03 Gaetan Bisson wrote: > Any ideas how to debug this? Can you valgrind? Without debug symbols in Qt it may be a little difficult to make sense of what we're seeing, but it might help. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.

Qt 5.11 released -- QSettings can't save on Android

2018-05-23 Thread Thiago Macieira
d can't use link(2)). statx(2) is also blocked, so you can't get file birth times either. [1] http://code.qt.io/cgit/qt/qtbase.git/commit/? id=f86fbc45667528ac9a496d1476bd139f26b3b5bc [2] http://man7.org/linux/man-pages/man2/open.2.html -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT)

Re: Ubuntu bionic appears to have removed the QtLocation private headers

2018-05-01 Thread Thiago Macieira
on't provide private headers unless they are actually required by something else that they also build (like other Qt modules). -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center __

Re: Formatting Dive tags string

2018-04-05 Thread Thiago Macieira
On Thursday, 5 April 2018 10:32:37 PDT Berthold Stoeger wrote: > Hi, > > On Donnerstag, 5. April 2018 19:28:28 CEST Thiago Macieira wrote: > > On Thursday, 5 April 2018 10:25:37 PDT Berthold Stoeger wrote: > > > It's fine as it is, since all C-strings are supposed t

Re: Formatting Dive tags string

2018-04-05 Thread Thiago Macieira
lid UTF-8, but QString::fromLatin1 is slightly faster. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog

Re: Cloud server

2018-04-04 Thread Thiago Macieira
On Sunday, 1 April 2018 11:55:34 PDT Dirk Hohndel wrote: > I know added another 30GB of storage, hopefully that will last for a while "30 GB will be enough for everyone" ? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Sour

Re: Formatting Dive tags string

2018-04-04 Thread Thiago Macieira
ing (same thing in this context). -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelo

Re: Trouble in Qt-land

2018-03-25 Thread Thiago Macieira
dealt with by CMake by creating the necessary RPATH in the Subsurface executable, though... -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subs

Re: Roll our own qUtf8Printable()?

2018-02-25 Thread Thiago Macieira
On domingo, 25 de fevereiro de 2018 17:13:11 PST Thiago Macieira wrote: > But there's another option, which is to avoid a copy of the QString if the > input is already a QString. Let me try a few variations of possible > solutions and compile Qt to see what happens. > > I'll BRB

Re: Roll our own qUtf8Printable()?

2018-02-25 Thread Thiago Macieira
reference counting by requiring a few of those functions to have constant time (O(1)) operation, which can't be implemented if you need to allocate memory and memcpy. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source

Re: Roll our own qUtf8Printable()?

2018-02-25 Thread Thiago Macieira
gt; > if you have a moment, what do you think about the size differences > between qUtf8Printable() and the proposed home brew qstring2c() > replacement. > Berhold is saying that qUtf8Printable() always creates a copy of the > string, does that seem right? No, it doesn't. But there's another

Re: Compiling Subsurface against Qt in debug/developer mode

2017-12-26 Thread Thiago Macieira
ing was incorrectly printed, file a bug report with an explanation of how you reached it. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface

Re: Subsurface as a Snap?

2017-12-21 Thread Thiago Macieira
logs and allow selecting of files outside of the sandbox. I have not seen any patch for Canonical for Snap. For that matter, neither for AppImage. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open

Re: Switching to Qt 5.10

2017-12-08 Thread Thiago Macieira
On sexta-feira, 8 de dezembro de 2017 05:49:34 PST Dirk Hohndel wrote: > > On Dec 8, 2017, at 7:46 AM, Thiago Macieira <thi...@macieira.org> wrote: > > > > On Friday, 8 December 2017 03:21:04 PST Dirk Hohndel wrote: > >> Actually, I just wanted to sw

Re: Switching to Qt 5.10

2017-12-08 Thread Thiago Macieira
On Friday, 8 December 2017 03:21:04 PST Dirk Hohndel wrote: > Actually, I just wanted to switch to Qt 5.10 and start testing with that. Please note that 5.10.0 has problems renaming files on Android, due to an unexpected SELinux rule. I advise to wait for 5.10.1. -- Thiago Macieira - thi

Re: ReleaseNotes.txt and merge conflicts

2017-11-27 Thread Thiago Macieira
would work with the current ReleaseNotes.txt layout > where lines are inserted at the bottom of a new release and on top of > old ones. i guess i can test it. Since we're using GitHub itself to do the merges, can you confirm that it does respect this .gitattributes attribute? -- Thiago Macieira - t

Re: ReleaseNotes.txt and merge conflicts

2017-11-27 Thread Thiago Macieira
and needs to be separated from other text (including other entries) by a blank line. See as an example: http://code.qt.io/cgit/qt/qtbase.git/commit/? id=92ca09147fc239762927595165f71a0d1ecff98f -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Op

Re: bool different in C and C++?

2017-11-19 Thread Thiago Macieira
On sábado, 18 de novembro de 2017 08:19:41 PST Berthold Stoeger wrote: > in core/pref.h we find the comment > /* can't use 'bool' for the boolean values - different size in C and C++ */ The comment is wrong. It's been wrong for 18 years, since C99 introduced stdbool.h. -- Thiago Ma

Re: no luck with Qt 5.9.2

2017-10-24 Thread Thiago Macieira
sk cache a hacky feature? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: no luck with Qt 5.9.2

2017-10-24 Thread Thiago Macieira
, but that's usually because I build from sources and not from releases. Intermediary builds can leave corrupt caches. I can help poke people, though. Can you report the current findings so I'll poke people? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org S

Re: removing Marble traces from the Subsurface tree

2017-08-25 Thread Thiago Macieira
rts some platforms for which there's no fast hardware). But he did confirm that they do not patch them, so they should match the tag from the Qt repositories. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Cen

Re: removing Marble traces from the Subsurface tree

2017-08-25 Thread Thiago Macieira
qt5-qtbase? repository=standard -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divel

Re: Qt 5.9 openssl problems on F26

2017-08-23 Thread Thiago Macieira
erstand the Qt team > delaying this migration for 5.10 as it is quite painful. There's also a licensing component here. One cannot distribute GPLv2-only software linking to OpenSSL 1.1. Subsurface is GPLv2-only, isn't it? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Soft

Re: Qt 5.9 openssl problems on F26

2017-08-06 Thread Thiago Macieira
On Sunday, 6 August 2017 18:42:24 PDT Linus Torvalds wrote: > On Sat, Aug 5, 2017 at 9:16 PM, Thiago Macieira <thi...@macieira.org> wrote: > > Patch and diff links in > > http://code.qt.io/cgit/qt/qtbase.git/commit/? > > id=cfbe03a6e035ab3cce5f04962cddd06bd414dcea &

Re: Qt 5.9 openssl problems on F26

2017-08-05 Thread Thiago Macieira
tained. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Qt 5.9 openssl problems on F26

2017-08-05 Thread Thiago Macieira
On Saturday, 5 August 2017 20:54:59 PDT Linus Torvalds wrote: > On Aug 5, 2017 20:48, "Thiago Macieira" <thi...@macieira.org> wrote: > > From the Qt Project's point of view, it's a new feature, so it was added to > the devleopment branch. But it seems the patch is cle

Re: Qt 5.9 openssl problems on F26

2017-08-05 Thread Thiago Macieira
some branch that worked at some point. They are, but in Qt 5.10. You're building 5.9.1. From the Qt Project's point of view, it's a new feature, so it was added to the devleopment branch. But it seems the patch is clean enough to be backported if a Linux distribution wants it for its purposes.

Re: Qt 5.9 openssl problems on F26

2017-08-05 Thread Thiago Macieira
en At-5.9 build, and would like to know how > to make a proper build against openssl-1.1.0, which is what F26 has. OpenSSL 1.1 is work in progress for Qt. You have to use 1.0. OpenSSL developers decided to break source compatibility and we haven't had time to adapt. -- Thiago Macieira - thiago

Re: latest Windows binary crashes

2017-07-04 Thread Thiago Macieira
f using QtLocation for maps? > > BTW you can try building this QtWebKit port as it's actively updated: > > https://github.com/annulen/webkit/releases > > Yes, and that appears to be in the 5.212 branch of Qt that I need to > find the time to investigate... 5.212 builds wit

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
it/rpms/qt5-qtbase.git/tree/qtlogging.ini You can override it by setting QT_LOGGING_RULES=*.debug=true -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface maili

Re: Dive download crash - Qt model issues

2017-06-24 Thread Thiago Macieira
is that it compiles with -Werror and compiles each header individually, so the build time increases and you're more likely to get build failures. Unless you're developing Qt itself like me, you don't want that option. Debug mode is fine for debugging into Qt itself and enables Q_ASSERT. -- Thiag

Re: QtWebEngine and Mingw

2017-06-24 Thread Thiago Macieira
surface project using clang for > Windows and WebEngine is also built using clang Which is the same as switching to MSVC and build on Windows. My experience with clang-cl isn't very good, but at least you an mix it with MSVC and use 2015 or 2017 where Clang-cl is still lacking. -- Thiago M

Re: MacBook Pro El Cap vers 10.11.6 (15G1510) Subsurface ver Subsurface v4.6.4

2017-06-15 Thread Thiago Macieira
a web engine is not permitted on iOS. So you need both a solution using qtwebengine (for desktops) and qtwebview (for mobile phones). I'd investigate qtlocation first, just to see if it solves the problem. -- Thiago Macieira - thiago (AT) macieira.info - thiago

Re: MacBook Pro El Cap vers 10.11.6 (15G1510) Subsurface ver Subsurface v4.6.4

2017-06-15 Thread Thiago Macieira
ingy instead of Marble - I'd much prefer that than spending more time on > Marble. Qt Location? The newer versions have nice support by MapBox, maintained in upstream by MapBox people. But it's a map, not a globe. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Sof

Re: Segfault when trying to edit cylinder information

2017-06-13 Thread Thiago Macieira
to mention that those were also generated by Qt. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.

Re: ASSERT: "bytes <= bufferSize" in file tools/qringbuffer.cpp, line 74

2017-06-13 Thread Thiago Macieira
on and caused by the Marble's "don't print debug" debugging functionality. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@sub

Re: Initial crash in MacOS Sierra

2017-05-26 Thread Thiago Macieira
On sexta-feira, 26 de maio de 2017 12:53:54 PDT Thiago Macieira wrote: > On segunda-feira, 15 de maio de 2017 01:55:33 PDT Robert Helling wrote: > > Thiago, > > > > could you please have a look at this: > > https://github.com/Subsurface-divelog/subsurface/issu

Re: Initial crash in MacOS Sierra

2017-05-26 Thread Thiago Macieira
usr/bin to $PATH instead. So I keep getting now: ld: library not found for -lssl The older SDKs (for macOS 10.8 through 10.10) had libssl.dylib, but the newest Xcode only carries the 10.12 SDK and that doesn't have libssl.dylib. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) k

[PATCH 1/1] Don't use the deprecated CMake variable

2017-05-23 Thread Thiago Macieira
-60936 Signed-off-by: Thiago Macieira <thi...@macieira.org> --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cca2c0a3..bcdf6cd5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -218,9 +218,9 @@ set(QT_LIBRARI

[PATCH 1/1] Adapt build.sh if qmake is already in PATH on a Mac

2017-05-19 Thread Thiago Macieira
Some people (like me) have Qt elsewhere. So long as qmake is in PATH, we should be able to support it. Signed-off-by: Thiago Macieira <thi...@macieira.org> --- scripts/build.sh | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh

Re: Initial crash in MacOS Sierra

2017-05-15 Thread Thiago Macieira
. > > Needless to say, I cannot reproduce this problem here. Story of our lives :-) I'll take a look later this week. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center _

Re: sudo 4.6.4 Aborted

2017-05-15 Thread Thiago Macieira
On segunda-feira, 15 de maio de 2017 08:40:38 PDT Dirk Hohndel wrote: > > On May 15, 2017, at 8:32 AM, Thiago Macieira <thi...@macieira.org> wrote: > > > > On segunda-feira, 15 de maio de 2017 06:38:51 PDT Dirk Hohndel wrote: > >> I understand that. For us as a us

Re: sudo 4.6.4 Aborted

2017-05-15 Thread Thiago Macieira
not using exceptions: we have no way of reporting that the connection failed, aside from aborting the application. Would a change to _exit help? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technolo

Re: sudo 4.6.4 Aborted

2017-05-15 Thread Thiago Macieira
eges to open the device /dev/ttyUSB0 Suunto > > > (HelO2) > > > > Can you send us the output of > > > > ls -l /dev/ttyUSB0 > > crw-rw 1 root dialout 188, 0 kvě 15 08:21 /dev/ttyUSB0 And did you log out and then back in after running the usermod command?

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Thiago Macieira
in the main() function continue to exist. This breaks a number of assumptions about the order in which things are destroyed (namely, that it is the opposite in which they were constructed). Using _exit() might help, but it may bring its own set of problems. At least it's closer to the qFatal cal

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Thiago Macieira
:0 > Aborted (core dumped) Your X server refused the connection. Best solution: don't use sudo. In fact, don't run Subsurface as root. Why were you trying this? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Sou

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-19 Thread Thiago Macieira
remove isEnabled() as it's not needed? Sounds good, but do we need this setEnabled() in the first place? Is it used anywhere? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center __

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-18 Thread Thiago Macieira
to enabled; with QtWarningMsg, it defaults to disabled. > - Where would be the right place in Subsurface code to put the > MarbleDebug::setEnabled(false) ? If we want it disabled by default, just change the macro. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-18 Thread Thiago Macieira
ould we skip the Q_LOGGING_CATEGORY macro and deploy our own code? -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-dive

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-17 Thread Thiago Macieira
vironment: QT_LOGGING_RULES=marble.debug=true -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.s

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-17 Thread Thiago Macieira
On segunda-feira, 17 de abril de 2017 14:41:13 PDT Lubomir I. Ivanov wrote: > On 18 April 2017 at 00:18, Thiago Macieira <thi...@macieira.org> wrote: > > On segunda-feira, 17 de abril de 2017 14:10:28 PDT Lubomir I. Ivanov wrote: > >> i guess we could just do a: > >

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-17 Thread Thiago Macieira
enabled); } bool isEnabled()// do you even need this function? { return category.isDebugEnabled(); } } //namespace MarbleDebug This changes to the MarbleDebug namespace too. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel O

Re: [PATCH] MarbleDebug: don't use a class extending QIODevice as a null device

2017-04-17 Thread Thiago Macieira
On segunda-feira, 17 de abril de 2017 13:24:26 PDT Lubomir I. Ivanov wrote: > On 17 April 2017 at 22:29, Thiago Macieira <thi...@macieira.org> wrote: > > On segunda-feira, 17 de abril de 2017 12:01:48 PDT Lubomir I. Ivanov wrote: > >> QDebug mDebug() > >> >

Re: Haunting a Windows "Subsurface not start but becoming zombie" bug

2017-04-10 Thread Thiago Macieira
iour is undefined". So other compilers did not need to implement it. C++11 did add a requirement that such initialisation must not deadlock. This is known to trip several implementations. Apple operating systems are known to fail that second bit too. -- Thiago Macieira - thiago (AT)

Re: [PATCH] Detect location of `ldconfig' before use

2017-02-05 Thread Thiago Macieira
LIBGIT=$($_ldconfig -p | grep libgit2\\.so\\. | awk -F. '{ print $NF > }') Instead of trying to find it, I'd just do: ldconfig 2>/dev/null || true -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect

Re: Qt and subsurface for Android

2017-01-09 Thread Thiago Macieira
discussion in https://bugreports.qt.io/browse/QTBUG-57886. This is a CMake bug in that it fails to recognise the Clang for Android being a useful compiler. The bug report has a workaround, something about setting CMP0025. I have no idea what that means or how to do it. Someone who understands CMake

Re: since we are testing things on Mac...

2017-01-02 Thread Thiago Macieira
t (Qt 5.6 doesn't either). The problem is the compiler itself, though. Apple's GCC 4.2 was stuck in time for a long time, with known miscompilation bugs. If you can get Clang to work, it would be the best result. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software

Re: anyone with a Mac running 10.7 or 10.8?

2017-01-01 Thread Thiago Macieira
Em domingo, 1 de janeiro de 2017, às 09:48:01 BRST, Dirk Hohndel escreveu: > > On Jan 1, 2017, at 6:58 AM, Thiago Macieira <thi...@macieira.org> wrote: > > > > It is the old AVX bug. VXORPS is an AVX instruction (that V is the tell) > > And this library comes

Re: anyone with a Mac running 10.7 or 10.8?

2017-01-01 Thread Thiago Macieira
It is the old AVX bug. VXORPS is an AVX instruction (that V is the tell)Sent from my BlackBerry — the most secure mobile device

Re: anyone with a Mac running 10.7 or 10.8?

2017-01-01 Thread Thiago Macieira
Apologies about top-postingDoesn't OSX generate a crash report? It should be possible to debug on your regular Mac. If not, we can probably guess what instruction it was: do you know what processor this old mini of your has? 

Re: anyone with a Mac running 10.7 or 10.8?

2017-01-01 Thread Thiago Macieira
the past when some code had AVX instructions, which would cause it to run on hardware pre-2011. -- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel Open Source Technology Center ___ subsurface mailing li

Re: anyone with a Mac running 10.7 or 10.8?

2017-01-01 Thread Thiago Macieira
n 10.9 and doesn't run on 10.7 or > 10.8). I have a 10.9 VM in the office, so I can test it in a week's time. Unfortunately, it didn't occur to me to create VMs from the recovery images until after I had upgraded from 10.8 to 10.9, so I can't test 10.8. -- Thiago Macieira - thiago (AT) ma

  1   2   3   >