Re: [Interest] Official linuxdeployqt ?

2022-08-09 Thread Joerg Bornemann
On 8/9/22 08:03, Vadim Peretokin via Interest wrote: Just to correct some biases here, in my opinion as a software publisher AppImage is still the simplest way for a user to run your app. Yes, it provides a similar experience like macOS app bundles. What linuxdeployqt definitely must offer is

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-30 Thread Joerg Bornemann
On 8/28/21 3:02 AM, Ben Cottrell wrote: Yes, I've tried configure with these command line arguments: ./configure -opensource -confirm-license -platform linux-g++ -prefix /opt/6.1.2-linux-g++-static -static However, you did not disable any of Qt's features, like Thiago suggested. Use co

Re: [Interest] Qt6 porting guidance: (MSDEV) QMAKE_CXXFLAGS += /source-charset

2021-08-27 Thread Joerg Bornemann
On 8/2/21 4:36 PM, David M. Cotter wrote: does anyone have any idea about this? please? I was about to suggest something. But you wrote: > and no, before you suggest it, i can't convert the sources to utf8 > encoding either, cuz that would break a lot of other stuff. Why does converting your

Re: [Interest] Installation Sizes for Applications using Qt

2021-08-27 Thread Joerg Bornemann
On 8/27/21 2:32 AM, Ben Cottrell wrote: So Qt makes sense for large applications, but for smaller ones, it's more efficient to use individual libraries per platform. Until Qt is more easily configurable, I cannot justify using it's libraries in small applications. Did you try one of the sugges

Re: [Interest] Require a qt_finalize_target() call in CMake user projects that use a static Qt

2021-05-05 Thread Joerg Bornemann
On 5/5/21 1:32 PM, Marius Kittler wrote: to me the most important point is that I can still stay in control over which plugins are linked against and which not. At best I can turn off pulling plugins automatically completely to avoid bloating my applications and keep my own build system logic fo

Re: [Interest] Need help to configure qt6 under Windows 10

2021-03-04 Thread Joerg Bornemann
On 3/2/21 8:32 PM, Thiago Macieira wrote: ..\qt5\configure.bat -prefix ..\qt6-win64 -developer-build -opengl Don't use the configure scripts any more. Please use CMake directly. Just replying so that this false information doesn't stick: The configure script can still be used, and offe

Re: [Interest] How to use Qt6::qmake ?

2021-02-03 Thread Joerg Bornemann
On 1/19/21 5:40 PM, Thiago Macieira wrote: On Monday, 18 January 2021 19:13:08 PST Nicholas Yue wrote: For the Qt5 cmake configuration, the setting of the path to the actual qmake binary whereas in the Qt6 variant, is looks like a generic import location not tied to qmake specifically. I am won

Re: [Interest] Generate pdb for qmake.exe on Windows

2020-12-11 Thread Joerg Bornemann
On 12/11/20 5:15 PM, Adam Light wrote: > Is it possible to build Qt in such a way that debugging symbols for > qmake itself are generated? Not out of the box. Edit qmake/Makefile in your build directory and - add /Zi to CFLAGS_BARE - add /DEBUG to LFLAGS then run "nmak

Re: [Interest] Generate pdb for qmake.exe on Windows

2020-12-11 Thread Joerg Bornemann
On 12/11/20 4:40 PM, Adam Light wrote: Is it possible to build Qt in such a way that debugging symbols for qmake itself are generated? Not out of the box. Edit qmake/Makefile in your build directory and - add /Zi to CFLAGS_BARE - add /DEBUG to LFLAGS then run "nmake clean" and "nmake". Cheer

Re: [Interest] distinguish nmake and sln generators in qmake script

2019-11-07 Thread Joerg Bornemann
On 11/2/19 9:51 AM, Vyacheslav Lanovets wrote: > What is the best way to distinguish between Visual Studio Solution > vcxproj generator (Src\qtbase\qmake\generators\win32\msvc_vcproj.cpp > described in > https://doc.qt.io/qt-5/qmake-platform-notes.html#creating-visual-studio-project-files) > and

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-07-04 Thread Joerg Bornemann
On 6/25/19 11:51 AM, Alexandru Croitor wrote: > If the stash file was in higher in the directory tree than you expected, it > might have been due to this bug report > https://bugreports.qt.io/browse/QTBUG-76140 > > which should be fixed by > https://codereview.qt-project.org/c/qt/qtbase/+/2635

Re: [Interest] Custom QT build using jom

2018-03-22 Thread Joerg Bornemann
On 03/22/2018 10:40 AM, Marcel Stegehuis wrote: What is the benefit of calling BuildConsole with jom over nmake? I thought that Incredibuild manages all the distributed builds. You still have to tell IncrediBuild to start distribution of build commands. That's what the buildconsole / xgecons

Re: [Interest] Automatic relink of executable after change in dependant static library

2017-06-19 Thread Joerg Bornemann
On 16/06/2017 22:36, Enmaniac Software wrote: Ah indeed. It worked! To recap: I have added the following to MyApp PRO file: PRE_TARGETDEPS += $$PWD/../staticlib/debug/staticlib.lib It’s a bit pity that PRE_TARGETDEPS takes the absolute path to the file rather than simply the target name (thus

Re: [Interest] VS2017 and Qt 5.9 WebEngine

2017-04-06 Thread Joerg Bornemann
On 06/04/2017 13:54, Oliver Niebuhr wrote: After Qt 5.9 and QtWebEngine got official Support for VS2017, I created a BR for a long known Problem (VS 2017 Env Variable Issue, https://bugreports.qt.io/browse/QTBUG-59812). [...] Apparently it worked for me, because I have used a system-wide insta

Re: [Interest] Qt 5.6.0: Strange "QProcess: CreateNamedPipe failed. (access denied)" messages

2016-11-10 Thread Joerg Bornemann
On 09/11/2016 14:24, Rainer Wiesenfarth wrote: Environment 1: Windows 10. - Dad starts first instance of Son => error message from Qt "QProcess: CreateNamedPipe failed. (access denied)" (3 times) This indicates that the pipes for stdin/stdout/stderr could not be created for whatever reason. W

Re: [Interest] Multiple QML WebEngineView instances on one QQmlEngine

2016-01-28 Thread Joerg Bornemann
On 27-Jan-16 13:24, Jani Tykka wrote: I have one QQmlEngine instance which holds multiple QML WebEngine instances. Is this supported approach? I'm experiencing random WebEngine crashes which makes me think this could be the culprit. Could you please create a bug report for those crashes on bu

Re: [Interest] Are there fixes for QWebEngine?

2016-01-18 Thread Joerg Bornemann
On 17-Jan-16 19:12, NoRulez wrote: I used the official Beta installer. I've just checked the beta installer. Building the demobrowser example works fine here. If you still feel that you've found a bug, please create a bug report. BR, Joerg ___

Re: [Interest] Are there fixes for QWebEngine?

2016-01-15 Thread Joerg Bornemann
On 14-Jan-16 22:18, NoRulez wrote: I tried to play with the examples (demobrowser). But I can't compile because of missing files. QtWebEngine builds fine on all supported platforms. Did you maybe forget to checkout the submodule? To help you, we'd need more details. E.g. QWebEngineHitTestRe

Re: [Interest] QLocalSocket bug?

2016-01-06 Thread Joerg Bornemann
On 05-Jan-16 17:20, Etienne Sandré-Chardonnal wrote: I can fix this by adding socket->isReadable() in the loop condition, but I am wondering if this is a QLocalSocket bug that should be filed. This sounds like a bug in the Windows implementation of QLocalSocket. Please file a bug with a small

Re: [Interest] qmake.exe -query gets stuck

2015-12-18 Thread Joerg Bornemann
On 17-Dec-15 23:14, q...@supradigital.org wrote: A colleague of mine saw something similar on his Windows 10 machine last week. He would double click on the Creator Icon (version 3.5.1 I believe) and it would appear that Creator was not started, though task manager showed it running. Eventually

Re: [Interest] Extremely sluggish browser performance in Qt 5.5

2015-06-22 Thread Joerg Bornemann
On 21-Jun-15 05:09, John C. Turnbull wrote: [...] > And as I said, Google Maps is completely unusable taking minutes to load > the initial map and then taking minutes to fully respond to zoom events. > > What the hell is going on here? I've just tried the quicknanobrowser from the 5.5.0 RC MSVC 2

Re: [Interest] How to avoid QProcess polling

2015-04-16 Thread Joerg Bornemann
On 16-Apr-15 13:51, Bo Thorsen wrote: > Warning! I have no idea if this is evil or not. Try and google the > consequences if you want to try it out. > > If you really want to get rid of this, you can easily do it: > > qDeleteAll(process->findChildren()); Wow... use at your own risk! ;) Stopping t

Re: [Interest] How to avoid QProcess polling

2015-04-08 Thread Joerg Bornemann
On 08-Apr-15 16:48, Thiago Macieira wrote: >> Thanks for the reply. What I understand now is that while the poll for >> reading was done away with, the poll for writing still remains. I have >> created a bugreport at https://bugreports.qt.io/browse/QTBUG-45457 . >> Hopefully I have explained the p

Re: [Interest] QJSEngine and error line

2015-04-08 Thread Joerg Bornemann
On 08-Apr-15 16:06, Sze Howe Koh wrote: > I think we should document this somewhere, if it isn't already done (I > searched but couldn't find anything). I'm happy to volunteer if > necessary. Could you please provide a list of built-in properties of > various QJSValue types? The docs state mentio

Re: [Interest] How to avoid QProcess polling

2015-04-08 Thread Joerg Bornemann
On 08-Apr-15 09:21, Shantanu Tushar wrote: > Lets say I launch an external application on Windows using this code- [...polling in QProcess...] This polling code is there for historical reasons. It's a naive way to simulate a socket notifier for stdin. If there's no data to write the _q_notified

Re: [Interest] QJSEngine and error line

2015-04-07 Thread Joerg Bornemann
On 07-Apr-15 09:59, Dominique Fober wrote: > I'm using the new QJSEngine and I'm trying to get the error line number (in > case of error of course). > Currently I'm handling errors as documented: > > if (result.isError()) result.toString().toUtf8() ... > > but actually, the string is very p

Re: [Interest] Array syntax in QML

2014-07-04 Thread Joerg Bornemann
On 05-Jun-14 10:49, Christopher Courtois wrote: > In QML the regular syntax to fill an array in declarative way is : > > states: [ > State {...}, > State {...}, > State {...} > ] > > I found out by accident that an alternative syntax is also supported but > it didn't find any doc ab

Re: [Interest] Windows API reference in Visual Studio 2013

2014-05-21 Thread Joerg Bornemann
On 21-May-14 13:20, Joerg Bornemann wrote: > Visual Studio 2013 doesn't come with the desktop Windows API reference > anymore. > > To install an offline version nevertheless, follow these steps: sigh... and the public link is http://www.microsoft.com/en-us/download/deta

[Interest] Windows API reference in Visual Studio 2013

2014-05-21 Thread Joerg Bornemann
Visual Studio 2013 doesn't come with the desktop Windows API reference anymore. To install an offline version nevertheless, follow these steps: - download http://hegel.it.local/public/ISO/windows/Visual%20Studio/VS2012Documentation.iso - mount VS2012Documentation.iso - open Visual Studi

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-03 Thread Joerg Bornemann
On 03-Apr-14 12:28, Damian Ivanov wrote: > one could use "cmd /c echo hello" at least I do so, or this somehow bad? You can use that if you're completely sure that echo prints its arguments verbatim. I for one wouldn't be surprised if there's some weird edge case where it transforms the passed

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-03 Thread Joerg Bornemann
On 03-Apr-14 02:34, Sze Howe Koh wrote: >> Nor on Windows's prompt: >> C:\>echo """hello""" >> """hello""" Checking arguments with the echo shell built-in on Windows is not a good idea. It behaves (not even) slightly different from real executables. Create an executable that prints its argument

Re: [Interest] qmake PWD variable?

2014-04-02 Thread Joerg Bornemann
On 02-Apr-14 09:55, tangk wrote: > win32:{ > LIBS += $$PWD/living1.lib > system(copy $$PWD/living1.dll $$[QT_INSTALL_BINS]) > } The error is that you pass paths with forward slashes to the copy command. Use the shell_path function to convert the slashes. BR, Joerg __

Re: [Interest] QMake incremental build issues

2014-02-24 Thread Joerg Bornemann
On 24-Feb-14 17:41, Etienne Sandré-Chardonnal wrote: > I sometimes experience problems with qmake (used in QtCreator). This > happens not often, but my program crashes after a partial build, and if > I rebuild all, it works perfectly. > > This means some file dependencies are not handled well. May

Re: [Interest] libQt5designer.so not found

2014-01-17 Thread Joerg Bornemann
On 17.01.2014 07:46, nus1998 wrote: > when I use qt5.0.2, I use commands: > /../qtbase/bin/qmake > make > make install/ > in directory qttools\src\designer, I can find the libQt5Designer.so in > qttools\lib, however, for qt 5.2.0, I can only find libQt5Designer.la > which is a text file, and all t

Re: [Interest] QBS automoc

2013-06-03 Thread Joerg Bornemann
Hi Ivan, For qbs questions we have this mailing list: http://lists.qt-project.org/mailman/listinfo/qbs > Hello, how do i enable "automocing" with qbs? It is automatically enabled once your product depends on a Qt module. > I'm have a cpp file (qcolorbutton.cpp), which includes moc file: > > #in

Re: [Interest] Q_WS_WIN and Q_WS_MAC still appear

2013-05-07 Thread Joerg Bornemann
rlooked or were left on purpose? Most of the Q_WS_* defines were left on purpose to gradually move the code in those defines to proper places. In the case of qcolormap.h though, it looks like an oversight. Cheers, Joerg -- Joerg Bornemann Senior Software Engineer - Digia, Qt http

Re: [Interest] Qt State Machine Framework C++

2013-05-03 Thread Joerg Bornemann
On 03/05/2013 08:36, antonio.cano.go...@ovi.com wrote: > I like very much Qt State Machine Framework C++, but because qt5 is qml > oriented, I am afraid that at some point Qt State Machine Framework C++ > will be discontinued. Qt is still a C++ framework and I don't know of any plans to remove Q

Re: [Interest] Buggy Makefile for config.tests\arch?

2013-02-14 Thread Joerg Bornemann
On 14/02/2013 10:39, Gisle Vanem wrote: >> Does del return with an exit code != 0 on your system? > > It sure does (as it should IMHO). I use 4NT 5.0U. That explains it. We must not rely on this behavior then. I've created QTBUG-29698 for this issue. Cheers, Jörg -- Joerg

Re: [Interest] Buggy Makefile for config.tests\arch?

2013-02-13 Thread Joerg Bornemann
barfs up and Qt builds fine after this? Now that is surprising as every Makefile.Debug has this same command block for linking DLLs or executables. :-/ BR, Jörg 1: http://releases.qt-project.org/jom/ -- Joerg Bornemann Senior Software Engineer - Digia, Qt http://qt.digia.com/ _

Re: [Interest] Buggy Makefile for config.tests\arch?

2013-02-13 Thread Joerg Bornemann
il. <<< ! file not found > "G:\Qt\5.0\qtbase\config.tests\arch\arch.exe.embed.manifest" > NMAKE : fatal error U1077: 'if' : return code '0x2' > Stop. Looks like the link call did not produce a manifest file. Can you confirm this? To work ar

Re: [Interest] Building Qt for Windows, jom/ibjom versus Qt*.vcxproj files (Was: [QTBUG-27554]...)

2012-10-19 Thread Joerg Bornemann
onal XGE package. http://www.xoreax.com/xge_overview.htm BR, Jörg -- Joerg Bornemann Senior Software Engineer - Digia, Qt http://qt.digia.com/ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [QTBUG-27554] New Qt 4.8.3 bug: invalid QtCore.vcxproj, MSVC10 error MSB3073

2012-10-17 Thread Joerg Bornemann
se vote at > https://bugreports.qt-project.org/browse/QTBUG-27554 You can work-around this issue by using nmake or jom to build Qt instead of using the vcxproj files. Best Regards, Jörg -- Joerg Bornemann Senior Software Engineer - Digia, Qt http://qt.digia.com/ _

Re: [Interest] Qt Visual Studio Add-in error when using CMake 2.8

2012-07-12 Thread Joerg Bornemann
On 10/07/2012 20:36, ext Gerenrot, Mikhail wrote: > We have a C++ project that uses QT3. We run CMake to generate the > project and run VS 2008 to compile. With CMake 2.6 everything was OK, > but now we have upgraded to CMake 2.8. It generates the project, but VS > does not compile, it gives Qt Vi

Re: [Interest] Qt5 on MSVC2008, Win7x64 (Tier1)?

2012-07-09 Thread Joerg Bornemann
On 08/07/2012 20:56, ext Charley Bay wrote: > Show of hands -- those of you on Win7x64, are you using MSVC2008 or > MSVC2010? mostly MSVC2008 SP1, MSVC2010 on a different machine. Note that Windows CE developers are tied to VS 2005 / VS 2008 unless they install MSVC2010 for desktop development

Re: [Interest] QProcess: child read from stdin - no data received?

2012-05-14 Thread Joerg Bornemann
On 14/05/2012 10:06, ext Thiago Macieira wrote: > The Windows side is very, very complex. Take a look at the > QProcessPrivate::waitForReadyRead function: it actually does a busy-wait > trying to read from the pipe and sleeps. It's horrible. In Qt5 QProcess (on Windows) creates named pipes with o

Re: [Interest] libgles_cm.lib and OpenGl32.lib

2012-01-31 Thread Joerg Bornemann
On 31/01/2012 00:07, ext John Weeks wrote: [...] > does not help. VSAddin 1.1.10 is still generating #include > "IgorH/StandardIncludes.h" in the moc_xxx files, which results in an > error because . is not part of the search paths. Is there a solution for > this problem, too? Don't know. Please r

Re: [Interest] libgles_cm.lib and OpenGl32.lib

2012-01-30 Thread Joerg Bornemann
On 28/01/2012 00:22, ext John Weeks wrote: > We are using vsaddin 1.1.9 to load our .pro file. Please use the latest version of the add-in. Its available here: http://qt.nokia.com/downloads/visual-studio-add-in Best Regards, Jörg ___ Interest mailing

Re: [Interest] Qt vs-addin for Qt5?

2012-01-19 Thread Joerg Bornemann
com/2011/12/19/qt-vs-add-in-1-1-10-released/#comment-50506 Also, the Qt VS Add-in is open source. If you don't want to wait for Digia, you're free to step up and contribute Qt5 support. BR, Jörg -- Joerg Bornemann Senior Engineer Nokia, Q

Re: [Interest] Compiling Qt 4.8.0 on Windows 7 with NTFS folder mounts

2012-01-16 Thread Joerg Bornemann
, you have to apply this commit in your local source tree: https://qt.gitorious.org/qt/qt/commit/70a434dc1c24f306805900b5ad7a45c7272702c6 BR, Jörg -- Joerg Bornemann Senior Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Regi