[Interest] Qt Creator SpellChecker Plugin: Quick Survey

2021-02-09 Thread Carel Combrink
Hi, I have created a quick 10 question survey about my SpellChecker Plugin for the Qt Creator IDE. Please take a minute or two and complete the survey at the following (even for those who are not using the plugin) link: https://www.surveymonkey.com/r/7DRQ85N For those who are not aware: The Spell

Re: [Interest] QML: PlaceholderText on ComboBox (Controls 2)

2019-09-02 Thread Carel Combrink
> > Please report this as a bug. I can reproduce it. > Done: https://bugreports.qt.io/browse/QTBUG-77978 ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QML: PlaceholderText on ComboBox (Controls 2)

2019-09-02 Thread Carel Combrink
Sorry, forgot the file, see attached: On Mon, Sep 2, 2019 at 10:26 AM Carel Combrink wrote: > >> That should work (and it appears to from the output), so I'm not sure why >> you don't see the placeholder text, assuming that is the actual issue here. >> > I

Re: [Interest] QML: PlaceholderText on ComboBox (Controls 2)

2019-09-02 Thread Carel Combrink
> > > That should work (and it appears to from the output), so I'm not sure why > you don't see the placeholder text, assuming that is the actual issue here. > I am not seeing the placeholder text > The way you're doing it in onCompleted is the easiest way to do it > currently, and it should wor

[Interest] QML: PlaceholderText on ComboBox (Controls 2)

2019-09-01 Thread Carel Combrink
Hi, I have a ComboBox (QtQuick.Controls 2.5, Qt 5.12.4 ) and want to set a "placeholderText" on the ComboBox to display when no text is entered. The ComboBox does not have "placeholderText" property and overwriting the complete contentItem of the ComboBox seems excessive to just do this to replic

Re: [Interest] Qt 5.12 Official packages for MinGW 64 bit?

2018-10-15 Thread Carel Combrink
Hi, If you install using the online installer you already get the option to install the pre-built packages of Qt 5.12 Beta built witn MinGW 7.3 x64 and under tools you can install this version of MinGW 7.3 as well. I have no idea about WebEngine but perhaps download the beta and see. Regards, Car

Re: [Interest] Qt 5.11.1 inside of a Docker container

2018-08-21 Thread Carel Combrink
Hi, I recently had success installing Qt 5.9.2 in a Windows docker container using this link as a starting point: https://stackoverflow.com/a/34032216/991000 I am on my way home at the moment, but if you do not get right I can try to assist some more tomorrow. Regards, Carel On Tue, Aug 21, 2018

[Interest] Online installer issue

2018-07-26 Thread Carel Combrink
.win32_mingw53/5.9.2-0-201710050731qtserialbus-Windows-Windows_7-Mingw53-Windows-Windows_7-X86.7z --- OK --- Is there something wrong with the Qt Mirror? Any suggestions? Regards, Carel Combrink ___ Interest

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-08 Thread Carel Combrink
Hi Mark, How would one use QCollatorSortKey for this type of application? Unfortunately I have to say that the Qt documentation on this class is not as descriptive compared to other classes. Regards, Carel On Mon, Jan 8, 2018 at 11:50 AM, Mark Gaiser wrote: > On Mon, Jan 8, 2018 at 4:18 AM, j

Re: [Interest] Building Qt apps on Ubuntu 17.10: GL/gl.h missing

2017-10-23 Thread Carel Combrink
elped me. Not sure if that applies to your problem also. >> >> Best regards, >> André >> >> Am 23.10.2017 um 13:21 schrieb Carel Combrink: >> >>> >>> You're looking for the GL header. Installing the GLES development >>> package

Re: [Interest] Building Qt apps on Ubuntu 17.10: GL/gl.h missing

2017-10-23 Thread Carel Combrink
> > > You're looking for the GL header. Installing the GLES development package > is > the wrong solution. > > Install the GL development package. > I have also tried both of the following but they all want to install X11 related packages.: - libgl-dev - libgl1-mesa-dev Is this "normal" or is the

Re: [Interest] QT 5.9.2 Print Dialog

2017-10-23 Thread Carel Combrink
Make sure that the 'windowsprintersupport.dll' is installed into the folder 'printsupport' alongside your exe. Your installed folder should look something like: BinFolder: * printsupport - windowsprintersupport.dll - app.exe Regards, On Mon, Oct 23, 2017 at 9:32 AM, Sudhir Sharma w

[Interest] Building Qt apps on Ubuntu 17.10: GL/gl.h missing

2017-10-20 Thread Carel Combrink
Hi, I am trying to build a test Qt 5.9.2 app on Ubuntu 17.10 but get the following compiler error: GL/gl.h: No such file or directory. I know in the past I had to install libgles2-mesa-dev to get around this issue, but is that still the recommended package to use for 17.10 since it uses Wayland a

[Interest] Qt and Clang

2017-10-04 Thread Carel Combrink
Hi, Do I need to rebuild Qt if I want to start using clang as my build tools on Windows and Linux? I am currently using gcc on Linux and MinGW on Windows and need to start building 64 bit applications. Regards, Carel ___ Interest mailing list Interest@

[Interest] QSS Stylesheet editing

2017-07-21 Thread Carel Combrink
Hi all, Does anyone use or know of any tool that can be used to set up and edit a QSS stylesheet for a Qt Application? Some features that would be nice to have: - Auto complete properties based on widget type - Live updates to show effects. - Some indication of what styles are already applied to

[Interest] Custom style for QCheckBox in QComboBox

2017-07-14 Thread Carel Combrink
Hi, How does one customize the style of the QCheckBox inside a QComboBox? In our application we have a specific style (QSS File) for a QCheckBox, for example the indicator is a custom image, the font is changed and the colors are specified. But this styling does not apply to the QCheckBox that g

[Interest] What is the status of Qt and MinGW 64 for Windows?

2017-03-09 Thread Carel Combrink
Hi, I would like to get a status update on what is the current thinking/planning regarding 64-bit applications on Windows using MinGW? I am fully aware of the MinGW-64-Bit page on the wiki, and have been following it for a while now. Although the page has a lot

Re: [Interest] Shadow Build Question

2017-01-19 Thread Carel Combrink
Just my 2c: Never ignore the warning when building QtCreator from source. I've had numerous issues because of this on windows: https://bugreports.qt.io/browse/QTCREATORBUG-14917 Regards On Fri, Jan 20, 2017 at 4:26 AM, Thiago Macieira wrote: > On sexta-feira, 20 de janeiro de 2017 00:44:14 PST

[Interest] QJsonObject::operator== bug

2016-11-03 Thread Carel Combrink
Hi, QJsonObject::operator==() does not compare QJsonObjects correctly. I am using Qt 5.6.2 on Ubuntu 16.06 (I can't test on other versions at this moment) This is probably related to QTBUG-56843 but that bug states "Complex QJsonObject", but the follo

Re: [Interest] FUD around licensing (From What don't you like about Qt?)

2016-10-10 Thread Carel Combrink
Hi Tomasz, > I replied there pointing that guy to OS installer. > Thanks, I saw that. One concern though, now he will be prompted for an 1GB download to install Qt Creator if he does not see the Qt Creator tab/link... PS: I wanted to reply directly on there but then got prompted to create a Yo

[Interest] FUD around licensing (From What don't you like about Qt?)

2016-10-10 Thread Carel Combrink
Hi All, Out of interest, to show how big the actual issue is on the licensing and the confusing website (my opinion but I am definitely not the only one). The CppCon2016 video from Giuseppe D'Angelo on “Introducing Qt Creator: a fast IDE for C++ development"

Re: [Interest] Dealing with Qt 4.x docs in Google searches (Was: "What don't you like about Qt?")

2016-09-22 Thread Carel Combrink
Using https://duckduckgo.com as my search engine helps a lot along with their bangs . The !qt bang normally opens the search in the Qt 5 docs, for example searching for `!qt QString ` opens http://doc.qt.io/qt-5/search-results.htm

Re: [Interest] Qt unified installer behind proxy with AV

2016-05-13 Thread Carel Combrink
Regards, > Now my question: Is it possible to instruct the online installer to > download through https only? > > I have no experience with this specific issue but perhaps try the "Qt SDK Repo Chooser " I think need to follow the steps in the "Alternativ

Re: [Interest] Offline installer alongside online installer

2016-04-13 Thread Carel Combrink
Hi What is your infrastructure? Do you have a local area network? > Yes, I have a local network. If yes, then you can clone repository QtSDK to all or a specific OS (~30Gb > for Windows), and deploy it on your network. > Do you refer to create a local mirror of the Online version or something els

[Interest] Offline installer alongside online installer

2016-04-13 Thread Carel Combrink
Hi, Is it possible to use the Qt Offline installer along with the Qt Online installer? The reason why I am asking: Currently I have Qt 5.4 installed on my computer, but would now like to install Qt 5.6. Due to bandwidth and connectivity related issues and concerns, I want to download the offline

Re: [Interest] Qmake "requires" function

2016-02-22 Thread Carel Combrink
Thiago, > MY_ENV_VAR_TEST=$$(MY_ENV_VAR) > > isEmpty(MY_ENV_VAR_TEST) { > > error("The env var MY_ENV_VAR must be set when enabling this > library") > > } > > > > *PS: Is there a better way to check if an environmental variable is set > > using qmake that is cross platform for Linux, Windows a

Re: [Interest] Qmake "requires" function

2016-02-22 Thread Carel Combrink
Morning Thiago, > Please give a concrete usecase. > I have developed a framework that contains a set of libraries using subdirs template. One library needs specific tools to be installed before it can be built. My initial implementation was to pass a argument to qmake to enable this library if y

[Interest] Qmake "requires" function

2016-02-22 Thread Carel Combrink
Hi All, What is the syntax for using the qmake "requires" function? The documentation states the following: *Evaluates condition. If the condition is false, qmake skips this project (and its SUBDIRS) when building.* I

[Interest] New release of my SpellChecker Plugin for QtCreator 3.6

2016-02-06 Thread Carel Combrink
Dear Qt Interests users. I have just uploaded a new release of my SpellChecker plugin for Qt Creator 3.6. The release contains binaries for both Windows and Ubuntu (x64). For more information on the plugin, please see the GitHub page of the project @ https://github.com/CJCombrink/SpellChecker-Plu

[Interest] Q_STATIC_ASSERT_X with MSVC2013 and Q_DECL_CONSTEXPR

2015-09-30 Thread Carel Combrink
Hi, I have listed a possible bug on Jira about the use of Q_STATIC_ASSERT_X on MSVC2013. Can someone please confirm if this is a bug and also check if it exists in the newer versions of Qt (5.5, 5.6a). Regards, ___

[Interest] Multiple .qmake.conf files in SUBDIRS project

2015-08-31 Thread Carel Combrink
Hi, Is the following behaviour correct regarding multiple .qmake.conf files in a SUBDIRS project: I have a Library (MyLib) that has a .qmake.conf file in its top folder that defines the following: LIB_TOP_BUILD_DIR=$$shadowed($$PWD) I now want to build my library as part of another project (the

Re: [Interest] QObject: Cannot create children for a parent that is in a different thread.

2015-08-18 Thread Carel Combrink
Greetings, I also had a similar issue once using an external library. My solution was to let the callback emit a signal to a slot in the object using a queued connection, and in the slot I did the actual processing of the data. I buffered the data in the callback before emitting the signal, but i

Re: [Interest] qmake Library VERSION issues on Windows

2015-07-29 Thread Carel Combrink
more information on this. Regards, On Thu, Jul 30, 2015 at 7:40 AM, Thiago Macieira wrote: > On Tuesday 28 July 2015 14:26:12 Carel Combrink wrote: > > Is there something that I am missing? > > You're not missing anything. What you see is what you get. > > On Windows, you ne

Re: [Interest] qmake Library VERSION issues on Windows

2015-07-29 Thread Carel Combrink
Any help? I forgot to mention my environment: Windows 7 x64 Qt 5.4.2 mingw 4.9.1 32bit Regards, Carel On Tue, Jul 28, 2015 at 2:26 PM, Carel Combrink wrote: > Hi, > > I have developed a few libraries in Linux and everything is working > correctly. > The libraries set the VERS

[Interest] qmake Library VERSION issues on Windows

2015-07-28 Thread Carel Combrink
Hi, I have developed a few libraries in Linux and everything is working correctly. The libraries set the VERSION variable in the project file and some depend on others. I am now trying to test the code on Windows but have issues due to the versioning of the libraries. I get linker errors for libr

Re: [Interest] qmake: Test if environment variable is set.

2015-05-27 Thread Carel Combrink
Thiago, > So TEST_3 isn't empty. Only the output from message was empty because it > performed an extra expansion. > Thanks for the explanation, it makes a sense now. Michael, > I would use TEST_3=$$(FOO) instead of TEST_3=$(FOO) This does work correctly thanks. Reading the documentation on

[Interest] qmake: Test if environment variable is set.

2015-05-27 Thread Carel Combrink
Hi, How do one test if an environmental variable is set from qmake? I have searched a lot but can't get the code working. People and documentation point to isEmpty() but that does not achieve the correct result, see below: My Code in my pro file: isEmpty(TEST_1) { message(Test 1: Empty ($$

[Interest] SpellChecker Plugin for QtCreator 3.3

2015-01-16 Thread Carel Combrink
Hi, I have created a SpellChecker plugin for Qt Creator. The plugin spell checks comments in C++ headers and sources, for spelling mistakes (English Only). Please download the latest release from my github page here (currently 0.2.1). T

[Interest] Qt Project Website Down

2014-09-30 Thread Carel Combrink
Hi, This is probably not the correct place to report this but it seems like the Qt Project website (qt-project.org/) is down. Was this planned or did something go wrong (or is it just me)? I am trying to access the forums, and the links I made just

Re: [Interest] get english translation

2014-09-01 Thread Carel Combrink
Hi, What about not passing the strings that should not be translated to the QObject::tr() function, but just using normal QString or QLatin1Strings? According to my understanding it won't then be visible to the translator. Or is the requirement that it should sometimes be translated and sometimes

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Carel Combrink
Perhaps this article might be of use in this discussion: http://woboq.com/blog/qmap_qhash_benchmark.html ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] MOC and QT_VERSION_CHECK bug??

2013-08-23 Thread Carel Combrink
(This message is a repost of a question asked on the forum, found here ) Hi, I am trying to get code to compile with both Qt 4 and Qt 5 bit it seems like MOC in Qt 4 (or qmake) does not understand QT_VERSION_CHECK and I get some strange outpu

Re: [Interest] how to add comments of member function defined with macro?

2013-02-26 Thread Carel Combrink
> My defined macro such as Q_OBJECT, the macro will define the common > member function. > > I have the same function, but instead of a macro I make use of templates. This can be done since the metaObject can be obtained from the staticMetaObject on the class. Using templates you get the same beha

Re: [Interest] Qt 4.8.3 MinGW 4.4.0 undefined reference to WinMain@16 with TEMPLATE = lib

2012-11-08 Thread Carel Combrink
Hi, I have also found the same problem (yesterday). You can try to do the following (worked for me) Add the following to your pro/pri file: CONFIG += dll Hope that helps, Regards, Carel On Thu, Nov 8, 2012 at 3:23 PM, andy fillebrown wrote: > Hi, > > I'm getting undefined references to WinMain

[Interest] Future of Qt Opensource SDK?

2012-10-12 Thread Carel Combrink
Hi all, What is the future of Qt Opensource SDK? The latest download of the SDK contains the following: - Qt libraries version 4.8.1 - Qt Creator IDE version 2.4.1 Most would be aware of the following releases - Qt 4.8.3 was released on 13 September 2012 - Qt Crea

Re: [Interest] type casting 5 levels down no error but not proper

2012-04-25 Thread Carel Combrink
If your requirement is " Please help me getting the mainwindow handle " then try something like this: bool continueSearching = true; QWidget* widgetParent = NULL; QMainWindow* mainWindow = NULL; QWidget* currentWidget = this; while(continueSearching == true) { widg

Re: [Interest] Logging best practice.

2011-12-02 Thread Carel Combrink
> > Did you evaluate Qxt's logging framework? > > You can also take a look at the logging framework in Qtilities. The documentation is rather good and it is easy to use. Good luck Carel, ___ Interest mailing list Interest@qt-project.org http://lists.qt-