Re: [Interest] How to get QMainWindow derived window to show

2021-04-30 Thread Jeremy Katz


On 30/Apr/21 15:20, Nicholas Yue wrote:
> Hi,
> 
>   I am learning and comparing the different UI I can create via Designer
> 
>   I can get the Widget to load and show up
> 
> https://github.com/nyue/QtQuestions/blob/main/Qt5/language_change/form/Form.cpp
> 
> 
>   but somehow, the MainWindow variety, I have not been able to
> 
> https://github.com/nyue/QtQuestions/blob/main/Qt5/language_change/mainwindow/MainWindow.cpp
> 
> 
>   The examples and documentation I found focuses on Form/Widget but not
> MainWindow
> 
>   Any advice ?

Omit the parentWidget parameter in the call to QUiLoader::load. Layouts
handle reparenting widgets they manage.

That and using QMainWindow::setCentralWidget instead of attempting to
apply a new layout to the entire QMainWindow should be enough to display
the content of the UI file.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Call retranslateUi() from UI generated/loaded directly from *.ui

2021-04-30 Thread Nicholas Yue
I tried enabling setLanguageChangeEnabled(true) but I don't see my label
updating, do I have to write some handler for that event and go through to
update each widget text ? Apologies, I am new to translation.

```

#include "MainWindow.h"

#include 

#include 

#include 

#include 

#include 

#include 


MainWindow::MainWindow(QWidget *parent)

: QMainWindow(parent)

{

QUiLoader loader;

QFile file(":/designer/mainwindow.ui");

file.open(QFile::ReadOnly);

QWidget *widget = loader.load(, parent);

loader.setTranslationEnabled(true);

file.close();

setCentralWidget(widget);


ui_checkBox = findChild("checkBox");

QObject::connect(ui_checkBox, SIGNAL(clicked()),  this, SLOT(doCheckBox()));

}



void MainWindow::doCheckBox() {

qDebug() << "doCheckBox() called = " << ui_checkBox->isChecked();

if (ui_checkBox->isChecked())

{

QString langFile = QString(":/language/.qm/mlc_de.qm");

QTranslator translator;

if (translator.load(langFile)) {

qDebug() << "DE Successful";

bool installed = qApp->installTranslator();

if (installed) {

qDebug() << "DE installed";

}

}

else

{

qDebug() << "DE Unsuccessful";

}

}

else

{

QString langFile = QString(":/language/.qm/mlc_C.qm");

QTranslator translator;

if (translator.load(langFile)) {

qDebug() << "C Successful";

bool installed = qApp->installTranslator();

if (installed) {

qDebug() << "C installed";

}

}

else

{

qDebug() << "C Unsuccessful";

}

}

}

```


On Thu, 29 Apr 2021 at 23:39, Friedemann Kleint 
wrote:

> Hi,
>
>  >  I am developing an application where I am generating the UI via
> loading the *.ui rather than using uic to generate the source/header file.
>
>  >  I need to call retranslateUi to update my translation but most
> documentation talks about a generated method by uic
>
> It should automatically react to language change events, see:
>
> https://doc.qt.io/qt-6/quiloader.html#setLanguageChangeEnabled
>
> Regards, Friedemann
>
> --
>
> Friedemann Kleint
> The Qt Company GmbH
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] How to get QMainWindow derived window to show

2021-04-30 Thread Nicholas Yue
Hi,

  I am learning and comparing the different UI I can create via Designer

  I can get the Widget to load and show up

https://github.com/nyue/QtQuestions/blob/main/Qt5/language_change/form/Form.cpp

  but somehow, the MainWindow variety, I have not been able to

https://github.com/nyue/QtQuestions/blob/main/Qt5/language_change/mainwindow/MainWindow.cpp

  The examples and documentation I found focuses on Form/Widget but not
MainWindow

  Any advice ?

Cheers
-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Online Windows Installer DLL dependency

2021-04-30 Thread Jason H
For anyone who may find it useful, the Qt online windows installer needs the
"MS Visual C++ 2015-2016 Redistributable (x86)"
installed, even though it is on a x64 system. The (x64) version will not work.


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


Re: [Interest] L Word

2021-04-30 Thread Konstantin Shegunov
On Fri, Apr 30, 2021 at 6:48 PM Robert Hairgrove 
wrote:

> There IS the other forum at https://forum.qt.io/ ...
>
> It has lots of subforums which would seem adequate for off-topic content
> as long as it even remotely concerns Qt.
>
Yes, we are lenient, probably sometimes to a fault, but we have banned
overly disruptive people in the past, albeit not too often. The main
purpose of the forum is for users of Qt to help other users of Qt, much
like this list. We don't get a significant presence from the QtC employees,
however. We have "The lounge" though, you can vent there as much as you
want, as long as you're not actively insulting other people, obviously.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] L Word

2021-04-30 Thread Volker Hilsheimer
Aren’t there enough other places where subjects that are too off-topic for this 
list can be discussed? Facebook, Twitter, medium, reddit etc. provide ample 
opportunity. I’d at least consider them better places for product-placement :P 
I don’t quite see why the Qt community needs to host a channel for discussions 
that are off-topic for most Qt users.

Nevertheless, honest and constructive discussions, also including some venting, 
about what’s wrong with Qt are welcome here. In particular for technical issues 
there are likely to be people reading list that can do something about it.


Cheers,
Volker


> On 30 Apr 2021, at 17:20, Jason H  wrote:
> 
> Not to Jeffery specifically,
>  
> I have mixed feelings about the whole situation. I think Roland is right, or 
> at least has a valid point most of the time, even if it is technical or 
> limited to a specific use case. However his speech is often hyperbolic, 
> absolutust, and not really tolerant of any other opinion. 
>  
> I think licensing, project direction, and other "soft" discussions ARE 
> appropriate for "qt-interest" mailing list. I don't think the hyperbole is 
> appropriate though.  
>  
> Maybe the answer is another mailing list, "qt-offtopic" or whatever, and we 
> can say that such hyperbole is appropriate there, but not here. I do 
> appreciate the comments that for people looking for a dense, tenchical 
> resource, the hyperbole is diluting. 
>  
> I hope Giuseppe comes back. He's been fantastic. 
>  
> Personally, I don't understand why if he hates it so much he participates the 
> way he does? It seems like ge's mobing away from Qt on his own? I suspect 
> that he probably won't return after the ban.
>  
> Sent: Friday, April 30, 2021 at 10:12 AM
> From: "Jeffrey Brendecke" 
> To: interest@qt-project.org
> Subject: Re: [Interest] L Word
> I, too, am one of those list lurkers looking for interesting information and 
> discussions on Qt, but all too often I instead see posts from one unpleasant 
> person repeatedly dominating discussions with belligerent, non-productive 
> rantings. I wonder why he even uses Qt or even spends time thinking about it.
>  
> Given that there is at least one large development company in the US making 
> money off using Qt on medical devices, among others, I think that this one 
> difficult person is definitely not the sole fountain of knowledge on the 
> subject and should not be given more credence than necessary. If Qt has 
> short-comings in the medical device realm, constructive discussion would 
> bring more than infantile rants. He would have done better to convince the Qt 
> Company to hire him on as a consultant to improve their technology for use on 
> medical devices, as that seems to be something the company wants to be 
> successful in. Instead, I would not want to go anywhere near the guy
>  
> I have experienced Giuseppe D'Angelo as a fabulous, caring instructor and am 
> sorry to see him leave this discussion. All of us are the poorer because of 
> it.
>  
> If any person's postings on this list (or really in any context) are causing 
> excellent contributors like Giuseppe to leave, then that is a very good 
> indication that that person needs to be removed from the list.
>  
> Jeffrey
>  
> -
>  
> On Apr 29, 2021, at 21:30, Rui Oliveira  wrote:
>  
> And so we lost one of the most active, contributing, and knowledgeable 
> members of this mailing list. 
> 
> Cue "the worst trade deal maybe ever signed anywhere" meme. 
> 
> I was thinking of putting him in CC but I don't think I should bother the 
> man. 
> 
> I sure did respect Giuseppe, and I can totally get behind his no-BS 
> personality.
> 
> With wishes of talking about code again,
> Rui
> 
> Às 09:22 de 29/04/2021, Giuseppe D'Angelo via Interest escreveu:
> On 29/04/2021 00:42, Giuseppe D'Angelo via Interest wrote: 
> If the answer is yes, you were lying. If the answer is no, or you don't 
> answer, then you're trolling the mailing list. You'll get my apology; 
> I'll even throw in, for free, my personal congratulations for the long 
> trolling. But, you'll get a nice permanent ban from here. 
> 
> No reply. Yes, you're not the only one who can set arbitrary deadlines for 
> other people, pal. 
> 
> 
> I'll just go with the script then: you DID believe those links to be true. 
> 
> Then, please accept my deepest and most sincere apologies for calling you a 
> liar. 
> 
> I'll state it again, very clearly, all uppercase: 
> 
> YOU NEVER LIED. I WAS WRONG. 
> 
> Please accept the attached fruit basket as a gesture of good will. 
> 
> === 
> 
> Where does this leave us, then? 
> 
> At BEST, you have been trolling the mailing list, sending inflammatory false 
> content with the purpose of getting a strong reaction from the participants. 
> 
> At WORST, you have demonstrated some abysmal gross incompetence, since in 
> order to win an argument you: 
> 
> * googled some keywords; 
> * got the first couple of links that seemed to match 

Re: [Interest] L Word

2021-04-30 Thread Robert Hairgrove

There IS the other forum at https://forum.qt.io/ ...

It has lots of subforums which would seem adequate for off-topic content 
as long as it even remotely concerns Qt.


Bob

--

On 30.04.21 17:20, Jason H wrote:
Maybe the answer is another mailing list, "qt-offtopic" or whatever, 
and we can say that such hyperbole is appropriate there, but not here. 
I do appreciate the comments that for people looking for a dense, 
tenchical resource, the hyperbole is diluting.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] L Word

2021-04-30 Thread Jason H
Not to Jeffery specifically,

 

I have mixed feelings about the whole situation. I think Roland is right, or at least has a valid point most of the time, even if it is technical or limited to a specific use case. However his speech is often hyperbolic, absolutust, and not really tolerant of any other opinion. 

 

I think licensing, project direction, and other "soft" discussions ARE appropriate for "qt-interest" mailing list. I don't think the hyperbole is appropriate though.  

 

Maybe the answer is another mailing list, "qt-offtopic" or whatever, and we can say that such hyperbole is appropriate there, but not here. I do appreciate the comments that for people looking for a dense, tenchical resource, the hyperbole is diluting. 

 

I hope Giuseppe comes back. He's been fantastic. 

 

Personally, I don't understand why if he hates it so much he participates the way he does? It seems like ge's mobing away from Qt on his own? I suspect that he probably won't return after the ban.

 




Sent: Friday, April 30, 2021 at 10:12 AM
From: "Jeffrey Brendecke" 
To: interest@qt-project.org
Subject: Re: [Interest] L Word


I, too, am one of those list lurkers looking for interesting information and discussions on Qt, but all too often I instead see posts from one unpleasant person repeatedly dominating discussions with belligerent, non-productive rantings. I wonder why he even uses Qt or even spends time thinking about it.
 

Given that there is at least one large development company in the US making money off using Qt on medical devices, among others, I think that this one difficult person is definitely not the sole fountain of knowledge on the subject and should not be given more credence than necessary. If Qt has short-comings in the medical device realm, constructive discussion would bring more than infantile rants. He would have done better to convince the Qt Company to hire him on as a consultant to improve their technology for use on medical devices, as that seems to be something the company wants to be successful in. Instead, I would not want to go anywhere near the guy

 

I have experienced Giuseppe D'Angelo as a fabulous, caring instructor and am sorry to see him leave this discussion. All of us are the poorer because of it.

 

If any person's postings on this list (or really in any context) are causing excellent contributors like Giuseppe to leave, then that is a very good indication that that person needs to be removed from the list.

 

Jeffrey

 

-
 

On Apr 29, 2021, at 21:30, Rui Oliveira  wrote:
 


And so we lost one of the most active, contributing, and knowledgeable members of this mailing list. 

Cue "the worst trade deal maybe ever signed anywhere" meme. 

I was thinking of putting him in CC but I don't think I should bother the man. 

I sure did respect Giuseppe, and I can totally get behind his no-BS personality.

With wishes of talking about code again,
Rui

Às 09:22 de 29/04/2021, Giuseppe D'Angelo via Interest escreveu:

On 29/04/2021 00:42, Giuseppe D'Angelo via Interest wrote: 

If the answer is yes, you were lying. If the answer is no, or you don't 
answer, then you're trolling the mailing list. You'll get my apology; 
I'll even throw in, for free, my personal congratulations for the long 
trolling. But, you'll get a nice permanent ban from here. 

No reply. Yes, you're not the only one who can set arbitrary deadlines for other people, pal. 


I'll just go with the script then: you DID believe those links to be true. 

Then, please accept my deepest and most sincere apologies for calling you a liar. 

I'll state it again, very clearly, all uppercase: 

YOU NEVER LIED. I WAS WRONG. 

Please accept the attached fruit basket as a gesture of good will. 

=== 

Where does this leave us, then? 

At BEST, you have been trolling the mailing list, sending inflammatory false content with the purpose of getting a strong reaction from the participants. 

At WORST, you have demonstrated some abysmal gross incompetence, since in order to win an argument you: 

* googled some keywords; 
* got the first couple of links that seemed to match your thesis; 
* didn't even bother to read the contents; 
* pasted the links here believing they were true, without questioning the veracity of such explosive statements; 
* when busted, dug your hole even deeper by keeping arguing in that direction. 

(...I'm not alone about bringing this possibility forward...) 

Spoiler alert, the links were April fools' jokes. They have never been true, and it was even written in the articles that they were jokes. With such precedents, why should anyone believe *any* other argument you bring forward? 

=== 

In either case, it is abundantly clear who's full of shit around here. 

It is also clear to me that moderation on this list doesn't exist, or if it exists, it doesn't want to get sides, and/or considers these behaviours acceptable. 

I don't. And I don't send ultimatums or threats of libel 

Re: [Interest] L Word

2021-04-30 Thread Jeffrey Brendecke
I, too, am one of those list lurkers looking for interesting information and 
discussions on Qt, but all too often I instead see posts from one unpleasant 
person repeatedly dominating discussions with belligerent, non-productive 
rantings. I wonder why he even uses Qt or even spends time thinking about it.

Given that there is at least one large development company in the US making 
money off using Qt on medical devices, among others, I think that this one 
difficult person is definitely not the sole fountain of knowledge on the 
subject and should not be given more credence than necessary. If Qt has 
short-comings in the medical device realm, constructive discussion would bring 
more than infantile rants. He would have done better to convince the Qt Company 
to hire him on as a consultant to improve their technology for use on medical 
devices, as that seems to be something the company wants to be successful in. 
Instead, I would not want to go anywhere near the guy

I have experienced Giuseppe D'Angelo as a fabulous, caring instructor and am 
sorry to see him leave this discussion. All of us are the poorer because of it.

If any person's postings on this list (or really in any context) are causing 
excellent contributors like Giuseppe to leave, then that is a very good 
indication that that person needs to be removed from the list.

Jeffrey

-

> On Apr 29, 2021, at 21:30, Rui Oliveira  wrote:
> 
> And so we lost one of the most active, contributing, and knowledgeable 
> members of this mailing list. 
> 
> Cue "the worst trade deal maybe ever signed anywhere" meme. 
> 
> I was thinking of putting him in CC but I don't think I should bother the 
> man. 
> 
> I sure did respect Giuseppe, and I can totally get behind his no-BS 
> personality.
> 
> With wishes of talking about code again,
> Rui
> 
> Às 09:22 de 29/04/2021, Giuseppe D'Angelo via Interest escreveu:
>> On 29/04/2021 00:42, Giuseppe D'Angelo via Interest wrote: 
>>> If the answer is yes, you were lying. If the answer is no, or you don't 
>>> answer, then you're trolling the mailing list. You'll get my apology; 
>>> I'll even throw in, for free, my personal congratulations for the long 
>>> trolling. But, you'll get a nice permanent ban from here. 
>> 
>> No reply. Yes, you're not the only one who can set arbitrary deadlines for 
>> other people, pal. 
>> 
>> 
>> I'll just go with the script then: you DID believe those links to be true. 
>> 
>> Then, please accept my deepest and most sincere apologies for calling you a 
>> liar. 
>> 
>> I'll state it again, very clearly, all uppercase: 
>> 
>> YOU NEVER LIED. I WAS WRONG. 
>> 
>> Please accept the attached fruit basket as a gesture of good will. 
>> 
>> === 
>> 
>> Where does this leave us, then? 
>> 
>> At BEST, you have been trolling the mailing list, sending inflammatory false 
>> content with the purpose of getting a strong reaction from the participants. 
>> 
>> At WORST, you have demonstrated some abysmal gross incompetence, since in 
>> order to win an argument you: 
>> 
>> * googled some keywords; 
>> * got the first couple of links that seemed to match your thesis; 
>> * didn't even bother to read the contents; 
>> * pasted the links here believing they were true, without questioning the 
>> veracity of such explosive statements; 
>> * when busted, dug your hole even deeper by keeping arguing in that 
>> direction. 
>> 
>> (...I'm not alone about bringing this possibility forward...) 
>> 
>> Spoiler alert, the links were April fools' jokes. They have never been true, 
>> and it was even written in the articles that they were jokes. With such 
>> precedents, why should anyone believe *any* other argument you bring 
>> forward? 
>> 
>> === 
>> 
>> In either case, it is abundantly clear who's full of shit around here. 
>> 
>> It is also clear to me that moderation on this list doesn't exist, or if it 
>> exists, it doesn't want to get sides, and/or considers these behaviours 
>> acceptable. 
>> 
>> I don't. And I don't send ultimatums or threats of libel lawsuits 
>> (seriously?) around, including to the moderators, in order to force them to 
>> make a move. 
>> 
>> Hence, I'll be removing myself from this list, effective immediately. 
>> 
>> 
>> You win. Audience claps. Curtains. 
>> 
>> Ad astra per aspera, 
>> 
>> 
>> ___
>> Interest mailing list
>> Interest@qt-project.org 
>> https://lists.qt-project.org/listinfo/interest 
>> 
> ___
> Interest mailing list
> Interest@qt-project.org 
> https://lists.qt-project.org/listinfo/interest 
> 
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-30 Thread Max Paperno


On 4/22/2021 4:50 AM, Volker Hilsheimer wrote:



* imperative painting

Paint-event based drawing with a “pen” is not easily reconcilable with how GPUs 
like to work. Without a persistent scene graph that is uploaded to the GPU, 
much of the performance you get from a GPU islost. An animation at 60fps is 
ideally just a draw call on the GPU with some different transformations, not a 
completely new upload of a completely reconstructed scene graph for each frame.

Widgets can draw into a framebuffer texture that can be used, and that allows 
for some integration, but that doesn’t give you great performance.


Why can't "Widgets" be drawn the same way QtQuickItems are drawn? As an 
alternative to pen/brush, or direct GL calls. Just like there's a 
QtQuickPaintedItem alternative. Essentially it's just another way to 
paint a widget (or whatever!)... or am I missing something? What is a 
QtQuick Control if not a type of widget?


If you mean batched render of all items in a scene, isn't that a 
function of the scene? Or partial redraw of only changed region, or for 
that matter only applying a transform if that's all that has changed. 
Ideally widgets shouldn't even care what kind of scene they're being 
drawn into, but at worst they could be aware and adjust accordingly? 
I'm sure I'm oversimplifying and generalizing here. I've read (or tried 
to) a number of Qt contributor publications on the matter, trying to 
understand, but they typically all start with some bullet points on why 
QPainter is "bad" and why it needs to be thrown out, and go from there 
(or just dive into how great the new system is) w/out any real 
alternative analysis. Many also seem to assume that "mobile" devices (or 
"embedding") are the only ones of interest anymore, or at least that's 
my impression.




* integer coordinates and clipping

Widgets work with integer coordinates, which starts to be problematic now that 
we have high-DPI displays. And widgets clip are clipped to their parent 
geometry, which was the right choice for those UIs, but is very limiting and 
requires a lot of complex code to solve conceptually simple problems. Hello 
macOS focus ring.
Quick items do not clip and are not clipped, which gives a lot more freedom in 
how shapes are combined and structured.



Err... Qt Graphics Framework?  And GL windows where developer can do 
whatever they want?  There is (or was) even a note somewhere in the GF 
docs about how this may become the future QWidgets underlying framework. 
 That's all pretty much been abandoned, which is unfortunate because 
there's a lot to like in there, including native widgets and nice 
layouts.  And it is very performant.


Within QWidgets one can already draw in floating point coordinates. 
Granted most existing QWidgets don't, but they could. I have a test app 
with 10+ animations of various sizes in one window, using QPainter fp 
drawing inside QWidgets, running 25+ fps on a little Pi Zero from 2017 
pushing a FHD display.


And applications written with either of those "outdated" technologies 
actually run fine on phones (Android anyway, never got around to the 
other more crippled OS)... it's just that you pretty much need to draw 
them yourself right now, or at least heavily customize.  I wrote a fully 
animated touch-friendly "airplane HUD" type application using Graphics 
Framework, 5 years ago now, using all custom-drawn controls, SVG 
graphics, and moving maps, pulling live data via radio link from a UAV, 
and it ran fine on decently powered phones/tablets of that time.  Zero 
QML, 99.9% same code for all platforms (not counting build/packaging 
scripts!).


So yea, I don't really "buy" this "we had to re-invent the wheel to make 
it more efficient."  I do get wanting a new shiny carbon fiber wheel. 
Just too bad the old but mature wheels get no real love.



* declarative vs imperative APIs

Many widget classes don’t have a declarative-friendly API. Plenty of widget 
properties have side effects on other properties, so the order in which 
properties are set matters. That doesn’t work well ina declarative world.


Well this sounds like a major generalization on several levels and I'm 
not going into all that, but even if the statement were entirely 
correct, this just means another set of widgets which don't care which 
order properties are set in... or an abstraction layer over existing 
widgets. And yea as mentioned already... what is QtDesigner XML then?



* weight

Widgets are heavy, often very complex objects. They often come with allbells and 
whistles. QPushButton always has the data structure to support 
QPushButton::setMenu, even if probably <1% of buttons out there ever usethat 
feature. That’s ok on desktop machines, it’s not okon embedded systems.


So QML components are stripped down to the bare minimum functionality 
that someone decided was good enough?  That does indeed echo some of my 
frustration with the relative immaturity of QtQuick controls.


Or is, 

Re: [Interest] Language file resource loaded but UI not updating

2021-04-30 Thread Konstantin Shegunov
On Fri, Apr 30, 2021 at 9:42 AM Nicholas Yue  wrote:

> Hi,
>

Hi,

  What function do I need to call to tell the application that I have
> loaded a language file and to use it ?
>

You install the translator to the application. For newly initialized forms
- nothing more is to be done, however for forms that were already
initialized into a widget you need to call `retranslateUi()` (generated by
the designer) to have an observable effect.

Take a look here as well:
https://doc.qt.io/qt-6/qcoreapplication.html#installTranslator
https://doc.qt.io/qt-6/internationalization.html#dynamic-translation
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] L Word

2021-04-30 Thread Konstantin Shegunov
On Fri, Apr 30, 2021 at 1:56 PM Bernhard Lindner <
priv...@bernhard-lindner.de> wrote:

> Agreed. Why not configuring e-mail filters? This is what I would do. This
> is definitely
> better than leaving the list or getting angry and also better than waiting
> for the
> moderators taking actions for years.
>

Well, because ignoring a problem doesn't magically make it go away. Sure,
it's been done, many of us have ignored the mails/threads, but I'd say it
comes a point where you stand your ground. We did draft the CoC for a
reason, and I like that it's not enforced for arbitrarily minor
infractions, but then again, this is not a single instance or a slip, this
has been going on for a time. You could possibly argue that Peppe's
reaction is extreme, or passive-agressive, but the fact of the matter is
that it's also logical. If you push back but it ain't budging, you
typically look for a way around ... and in some sense avoiding a hostile
space (or one you perceive as hostile) is a very valid "way around".

Depends from the point of view. I have never felt insulted by Roland. And I
> can understand
> (and agree) his points many times.


Me neither, and so do I. But this isn't the issue here. The point is that
this isn't a society of two (you and me), but it's a larger group. I am not
into the SJW mentality, however you have to acknowledge the repeated use of
qualifications incompatible with the good tone and spirit of a civil
(technical) discussion. I will not bring in examples, of which there's
plenty, and you did acknowledge that.


> But it explains his frustration. And it explains why there a so few people
> who understand
> his (rudely presented) arguments.
>

I could have an explanation for any unacceptable behaviour without having
to validate it.
Hypothetical example: If, say, a person was abused by their parents, we
could argue it's perfectly understandable why they react violently and
abuse their spouse. This doesn't mean it's an acceptable (or lawful)
behaviour.

If you came from Mars I would surely tolerate much more misbehavior than if
> you came from
> Earth.
>

How much more? Sure, you can allow for some leeway in your decisions, but
sooner or later I'm going to have to face the music if I continue to act
the same way, right?
As always one draws the line somewhere, even if it may not be the same
place for everybody.


> This is a mailing list. People can be filtered and/or ignored on an
> individual basis.
>

You know this, and I know this, because we've been around long enough and
can make an informed decision. A person who just joins the list ordinarily
has little notion of how people are, and who's who. And that's in addition
to the obvious hijacking of the threads and arbitrary insults. When I come
with a question, I wouldn't want to be told that I'm stupid for not having
a "software engineering degree" (which seems rather important for Roland)
or read a book on how great VMS is, I'd rather be guided to a proper
solution for my problem. This is hardly unreasonable to ask, is it?

On Fri, Apr 30, 2021 at 2:15 PM Ulf Hermann  wrote:

> I would like a new mailing list that focuses on technical aspects, like
> "how do I use Qt in such and such way". Any question of licenses,
> general politics, the importance of functional safety, fruit baskets,
> etc can stay here on the old mailing list.


Agreed, although I acknowledge it's not always easy to disentangle the
questions of licenses and politics from the technical discussion, and these
topics do matter. But as it happens we all have our opinions, I just hope
we can share them as civilized people.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] L Word

2021-04-30 Thread Stottlemyer, Brett (B.S.)
On 4/30/21, 7:06 AM, "Lars Knoll"  wrote:

If he decides to come back after that I do expect that his emails follow 
our CoC and stay on topic for this mailing list. Any further violations will 
lead to a permanent ban.

Thanks, Lars, both for the ban and the explanation.  Sigh of relief from me.

On 4/30/21, 6:36 AM, "Interest on behalf of Bernhard Lindner" 
 
wrote:

Of course the underlying intentions must be constructive anyway - which 
should be
the main question when considering to ban someone.

Do you think Roland's main intentions are destructive?

What is important is _not_ the intention, but the effect on the community.  And 
for me, Roland's "contributions" were destructive.  Roland looks at Qt through 
a lens of embedded safety/regulatory equipment.  I get that and do appreciate 
the perspective.  But he speaks in absolutes.

QML == Awful
Qt == Unstable

New members to the list get the wrong impression when Roland's extreme opinions 
aren't pushed back on.  You've hit a bad place when the choice is ignoring FUD 
vs. fighting a flame-war.  People that force that choice don't deserve to be 
here.

Regards,
Brett

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


Re: [Interest] L Word

2021-04-30 Thread Ulf Hermann
If I came from Mars that still wouldn't give me the right to abuse, 
insult or demean other people on this list.


You clearly did not read the secret Martian amendment to the code of 
conduct. Roland has. We're neighbors.


Anyway, the amount of popcorn I have ingested reading this list tells me 
that the time for a nice permanent ban and a fruit basket has come. And 
gone.


I would like a new mailing list that focuses on technical aspects, like 
"how do I use Qt in such and such way". Any question of licenses, 
general politics, the importance of functional safety, fruit baskets, 
etc can stay here on the old mailing list. I will even occasionally read 
it and enjoy my popcorn, but no one interested in more productive 
conversation should be forced to.


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


Re: [Interest] L Word

2021-04-30 Thread Lars Knoll
Hi all,

After being notified about this whole mess yesterday evening, I’ve now spent 
quite a bit of time to catch up on the whole thread.

The purpose of this mailing list is for users to help each other and discuss Qt 
related topics. The whole thread of postings leading to this is in that respect 
not something that I want to see on this mailing list.

It’s unfortunately not the first time that Roland has been on a trolling 
mission. In this thread, he again has been adding tons of noise to this mailing 
list without adding value. As I see it, this is trolling and destroying the 
value of this list. The tone of the posts is divisive and aggressive, something 
that I don’t want to see in the Qt community.

This means that a lot of the posts in this thread do violate our CoC, and 
Roland has been starting those violations and continuously adding fuel to the 
fire. I understand why Guiseppe has reacted strongly to those posts.

As a project we have so far not defined sanctions when that CoC is being 
violated, as we (fortunately) didn’t really have the need for it so far. That 
puts sanctions at the discretion of the mailing list moderators or myself.

We’ve unfortunately seen this before and I had complaints about his behaviour 
before. As such, Roland is banned from the mailing list until the end of May. 
If he decides to come back after that I do expect that his emails follow our 
CoC and stay on topic for this mailing list. Any further violations will lead 
to a permanent ban.

Lars

On 29 Apr 2021, at 13:45, Tuukka Turunen 
mailto:tuukka.turu...@qt.io>> wrote:

Hi,

Perhaps we have been too long tolerant for the behavior that many see 
problematic (myself included). The challenge is the mix of valid and invalid 
items. It is easier to react to things that are clear violations to our CoC: 
http://quips-qt-io.herokuapp.com/quip-0012-Code-of-Conduct.html and nothing 
else.

On the positive side, we have not had that much of these over the years. We 
have not been banning people regularly, so we also lack a bit of precedence 
with this. Technically it is a trivial thing to remove someone from a mailing 
list. The challenging part is to decide when it is time to do that.

Yours,

Tuukka



From: Interest 
mailto:interest-boun...@qt-project.org>> on 
behalf of Massimiliano Maini mailto:maxma...@gmail.com>>
Date: Thursday, 29. April 2021 at 14.23
To: Bernhard Lindner 
mailto:priv...@bernhard-lindner.de>>
Cc: interest@qt-project.org 
mailto:interest@qt-project.org>>
Subject: Re: [Interest] L Word
Yeah, maybe that's part of the problem but, as you said, the solution
should be simple: he leaves the mailing list
or, if that's not possible, the admins "make him leave".

On top, with his ramblings and often totally wrong assertions (the
"April's fool link"-gate scandal has been absolutely
hilarious, almost as the subsequent attempt to regain some
credibility, yeah .. nice try) he has now managed to scare
the hell out of me the next time I'll be tied to a medical device: the
mere chance he may be behind it now makes me
extremely nervous. Even if it's only a blood pressure monitor.

Losing valuable people in the mailing list and, at some point, the
mailing list at all is like throwing away a Ferrari
because a pidgeon keeps shitting on it. I'd argue that getting rid of
the pidgeon is a more sensible solution.

On Thu, 29 Apr 2021 at 12:05, Bernhard Lindner
mailto:priv...@bernhard-lindner.de>> wrote:
>
> The main problem isn't trolling. The main problem is: Roland comes from a 
> completely
> different world. The world of functional safety. This world is difficult and 
> a completely
> different from conventional software development. It is particularly 
> different from
> smartphone and web development. And it doesn't have much to do with desktop 
> software
> development. I have also been in this world for more than 3 years. A world 
> where
> programming is the least important thing. Where documentation is important. 
> And the law.
> And prison. And accuracy and multi-level tests and reliability and 
> verification and
> validation and standards. And many years of support. And certifications. A 
> person who has
> worked in this world for a long time has different priorities. Roland calls 
> this "True
> Software Engineering".
>
> Obviously, Qt has nothing to do with this type of software engineering. And 
> it's obviously
> not suitable for functional safety (at least not if you take it seriously).
>
> What I don't understand is why Roland doesn't just leave the mailing list and 
> forget about
> Qt. Qt is not suitable for use in his industrial sector, so I can't 
> understand why he
> spends so much time writing about the conflict between the reality of Qt and 
> the reality
> of his industrial sector. If I were him, I would have given up trying to 
> influence Qt's
> strategy a long time ago.
>
> (Actually, I'm about to give up my hopes for desktop development 

Re: [Interest] qmake (wasm) : qtlogo.svg

2021-04-30 Thread Morten Sørvig


> On 29 Apr 2021, at 20:56, Nicholas Yue  wrote:
> 
> Hi,
> 
>   When building a Qt app with qmake that was build as WASM, it generate a 
> corresponding *.html which references the qtlogo.svg file
> 
> cme.html: style="display:block">
> 
>   Is there some option in the *.pro I can specify to tell qmake to use a 
> different SVG file instead?
> 

Hi,

Short answer is no, there is no option.

The expectation is that applications will provide their own .html file which 
suites their use case. The default one makes the app canvas cover the entire 
viewport, so if that is the presentation you want then you can use the 
generated html as a base and replace the Qt branding.

Regards,
Morten

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


Re: [Interest] L Word

2021-04-30 Thread Alexey Rusakov
Hello,

On Thu, 29 Apr 2021 at 13:46, Tuukka Turunen  wrote:

> Perhaps we have been too long tolerant for the behavior that many see
> problematic (myself included). The challenge is the mix of valid and
> invalid items. It is easier to react to things that are clear violations to
> our CoC: http://quips-qt-io.herokuapp.com/quip-0012-Code-of-Conduct.html
> and nothing else.
>

First off, thanks for dropping a line - at least, there's indication that
TQtC is watching, unlike last year when it took much longer before the list
went on complete pre-moderation. Now, having been (and being) a moderator
in other open-source forums, I'm a bit puzzled. There are particular lines
in the CoC that have been very clearly stepped over: "Be considerate", "Be
respectful" and "Be collaborative", among others. From some point, there
was little consideration to and respect for each other in this thread and
especially its predecessor. And what's happening here is very far from
collaboration, let alone being on-topic. Recommendations from the "Get
support from others" part of CoC[1] are also most obviously disregarded.
What kind of clarity do you need to take action, Tuukka? There were
downright personal accusations (false or not - doesn't even matter),
calling names, inflammatory rather than constructive postings, offtopic
here - what else do you need?

[1] http://quips-qt-io.herokuapp.com/quip-0012-Code-of-Conduct.html#id10

Kind regards,
Alexey


>  On the positive side, we have not had that much of these over the years.
> We have not been banning people regularly, so we also lack a bit of
> precedence with this. Technically it is a trivial thing to remove someone
> from a mailing list. The challenging part is to decide when it is time to
> do that.
>
>
>
> Yours,
>
>
>
> Tuukka
>
>
>
>
>
>
>
> *From: *Interest  on behalf of
> Massimiliano Maini 
> *Date: *Thursday, 29. April 2021 at 14.23
> *To: *Bernhard Lindner 
> *Cc: *interest@qt-project.org 
> *Subject: *Re: [Interest] L Word
>
> Yeah, maybe that's part of the problem but, as you said, the solution
> should be simple: he leaves the mailing list
> or, if that's not possible, the admins "make him leave".
>
> On top, with his ramblings and often totally wrong assertions (the
> "April's fool link"-gate scandal has been absolutely
> hilarious, almost as the subsequent attempt to regain some
> credibility, yeah .. nice try) he has now managed to scare
> the hell out of me the next time I'll be tied to a medical device: the
> mere chance he may be behind it now makes me
> extremely nervous. Even if it's only a blood pressure monitor.
>
> Losing valuable people in the mailing list and, at some point, the
> mailing list at all is like throwing away a Ferrari
> because a pidgeon keeps shitting on it. I'd argue that getting rid of
> the pidgeon is a more sensible solution.
>
> On Thu, 29 Apr 2021 at 12:05, Bernhard Lindner
>  wrote:
> >
> > The main problem isn't trolling. The main problem is: Roland comes from
> a completely
> > different world. The world of functional safety. This world is difficult
> and a completely
> > different from conventional software development. It is particularly
> different from
> > smartphone and web development. And it doesn't have much to do with
> desktop software
> > development. I have also been in this world for more than 3 years. A
> world where
> > programming is the least important thing. Where documentation is
> important. And the law.
> > And prison. And accuracy and multi-level tests and reliability and
> verification and
> > validation and standards. And many years of support. And certifications.
> A person who has
> > worked in this world for a long time has different priorities. Roland
> calls this "True
> > Software Engineering".
> >
> > Obviously, Qt has nothing to do with this type of software engineering.
> And it's obviously
> > not suitable for functional safety (at least not if you take it
> seriously).
> >
> > What I don't understand is why Roland doesn't just leave the mailing
> list and forget about
> > Qt. Qt is not suitable for use in his industrial sector, so I can't
> understand why he
> > spends so much time writing about the conflict between the reality of Qt
> and the reality
> > of his industrial sector. If I were him, I would have given up trying to
> influence Qt's
> > strategy a long time ago.
> >
> > (Actually, I'm about to give up my hopes for desktop development with
> Qt).
> >
> > So, Roland, why are you keeping the conflicts going?
> >
> > --
> > Best Regards,
> > Bernhard Lindner
> >
> > ___
> > Interest mailing list
> > Interest@qt-project.org
> > https://lists.qt-project.org/listinfo/interest
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
> ___
> Interest mailing list
> Interest@qt-project.org
> 

Re: [Interest] L Word

2021-04-30 Thread Bernhard Lindner

> > Hence, I'll be removing myself from this list, effective immediately.
> 
> I do hope you reconsider, it's going to be a loss for you, but much bigger 
> loss for us.

Agreed. Why not configuring e-mail filters? This is what I would do. This is 
definitely
better than leaving the list or getting angry and also better than waiting for 
the
moderators taking actions for years.

> > The main problem isn't trolling.
> 
> Actually it is.

Depends from the point of view. I have never felt insulted by Roland. And I can 
understand
(and agree) his points many times. 

Still I would never write e-mails in his style and I wish he would drop those 
borderline
insults.

Actually my biggest problem with his posts are their length and the slangy 
language (both
makes reading his mails hard for a non-native speaker like me). 

> > The main problem is: Roland comes from a completely
> > different world. The world of functional safety.
> 
> If I came from Mars that still wouldn't give me the right to abuse, insult or 
> demean
> other people on this list.

But it explains his frustration. And it explains why there a so few people who 
understand
his (rudely presented) arguments.

If you came from Mars I would surely tolerate much more misbehavior than if you 
came from
Earth.

Also don't forget that fights always need two persons: One person who provokes 
and someone
else who volunteers to escalate the situation. As much as I can't understand 
Rolands style
of speech I also can't understand people fighting back in the same style and 
then
complaining about Roland.

This is a mailing list. People can be filtered and/or ignored on an individual 
basis.

-- 
Best Regards,
Bernhard Lindner

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


Re: [Interest] L Word

2021-04-30 Thread Konstantin Shegunov
Ronald -> Roland

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


Re: [Interest] L Word

2021-04-30 Thread Rui Oliveira
And so we lost one of the most active, contributing, and knowledgeable 
members of this mailing list.


Cue "the worst trade deal maybe ever signed anywhere" meme.

I was thinking of putting him in CC but I don't think I should bother 
the man.


I sure did respect Giuseppe, and I can totally get behind his no-BS 
personality.


With wishes of talking about code again,
Rui

Às 09:22 de 29/04/2021, Giuseppe D'Angelo via Interest escreveu:

On 29/04/2021 00:42, Giuseppe D'Angelo via Interest wrote:

If the answer is yes, you were lying. If the answer is no, or you don't
answer, then you're trolling the mailing list. You'll get my apology;
I'll even throw in, for free, my personal congratulations for the long
trolling. But, you'll get a nice permanent ban from here.


No reply. Yes, you're not the only one who can set arbitrary deadlines 
for other people, pal.



I'll just go with the script then: you DID believe those links to be 
true.


Then, please accept my deepest and most sincere apologies for calling 
you a liar.


I'll state it again, very clearly, all uppercase:

YOU NEVER LIED. I WAS WRONG.

Please accept the attached fruit basket as a gesture of good will.

===

Where does this leave us, then?

At BEST, you have been trolling the mailing list, sending inflammatory 
false content with the purpose of getting a strong reaction from the 
participants.


At WORST, you have demonstrated some abysmal gross incompetence, since 
in order to win an argument you:


* googled some keywords;
* got the first couple of links that seemed to match your thesis;
* didn't even bother to read the contents;
* pasted the links here believing they were true, without questioning 
the veracity of such explosive statements;
* when busted, dug your hole even deeper by keeping arguing in that 
direction.


(...I'm not alone about bringing this possibility forward...)

Spoiler alert, the links were April fools' jokes. They have never been 
true, and it was even written in the articles that they were jokes. 
With such precedents, why should anyone believe *any* other argument 
you bring forward?


===

In either case, it is abundantly clear who's full of shit around here.

It is also clear to me that moderation on this list doesn't exist, or 
if it exists, it doesn't want to get sides, and/or considers these 
behaviours acceptable.


I don't. And I don't send ultimatums or threats of libel lawsuits 
(seriously?) around, including to the moderators, in order to force 
them to make a move.


Hence, I'll be removing myself from this list, effective immediately.


You win. Audience claps. Curtains.

Ad astra per aspera,

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


Re: [Interest] L Word

2021-04-30 Thread Ben Haller via Interest

+1.

I am mostly a lurker on this list, but I have asked a few questions and 
learned a bunch of things.  I would like to remain subscribed to it; it 
is useful to me.  But Roland is destroying the list.  As Benjamin writes 
below, at least some of the issues Roland raises are valid, and the 
larger discussion (what is Qt for, what should the future of it be, how 
are its licensing terms affecting its usability, etc.) has often been 
interesting.  I have even learned things from Roland's posts, in fact. 
The problem is not Roland's viewpoint as such (although I agree with 
those who are puzzled that he doesn't simply leave the group, since Qt 
is clearly not the tool he wants it to be), nor the discussion topic, 
but the fact that Roland behaves like a troll: posting endlessly making 
essentially the same points over and over, being rude and insulting 
rather than constructive, and attempting not just to make his point, but 
to completely dominate the conversation.


That is unacceptable behavior, and if it isn't against the CoC, perhaps 
it should be.  Tuukka, I recognize the difficult position here, but I 
vote that something needs to be done.  If you don't want to ban someone 
who is not in clear violation of the CoC, then the CoC should be revised 
to disallow this type of behavior.  This needs to stop.  People who are 
good, constructive contributors to the list are leaving, and I will soon 
follow them if this doesn't change.  If I'm not mistaken, not a single 
person has posted to this "L Word" thread in defense of Roland's right 
to act as he has been acting, have they?  It feels like the community is 
pretty much unanimous on this (except, of course, Roland): it needs to 
stop.  It seems clear that it won't stop of Roland's own volition, so 
the moderators need to act.


Cheers,
-B.

Benjamin C. Haller
Messer Lab
Cornell University



Benjamin TERRIER wrote on 4/29/21 11:26 AM:



On Thu, 29 Apr 2021 at 15:15, Bob Hood > wrote:


On 4/29/2021 4:02 AM, Bernhard Lindner wrote:

Obviously, Qt has nothing to do with this type of software engineering. And 
it's obviously
not suitable for functional safety (at least not if you take it seriously).


If this statement is true /and/ Roland's statement that TQC
actively courted that industry is also true, then it seems to me
that he has a valid grievance, regardless of how he presents it.


TQC actively courted that industry, but it does not mean that they 
intended Qt to be part of the functional safety stack.


As a proof to my above statement I bring you the Qt Safe Renderer. It 
is a commercial product from TQC targeted to functional safety 
industry, so yes TQC has courted this industry.
However, it also means that Qt itself was never meant to be a part of 
the functional safety stack and is not supposed to mess with it.


The issue at hand here is not that Roland has a valid grievance or 
not. At least some of the issues he raised are valid.
The issue is that his emails are numerous and have a very low 
signal/noise ratio, that he is borderline insulting to anyone who is 
out of his industry and that in the end it lowers the value users are 
getting from this mailing list.


And personally I'd add that he is so badly advocating for his 
grievance that I'd prefer him not to advocate for the points where I 
agree with him.



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


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


Re: [Interest] L Word

2021-04-30 Thread Konstantin Shegunov
On Thu, Apr 29, 2021 at 11:27 AM Giuseppe D'Angelo via Interest <
interest@qt-project.org> wrote:

> I don't. And I don't send ultimatums or threats of libel lawsuits
> (seriously?) around, including to the moderators, in order to force them
> to make a move.


Well, us "script kiddies"* don't live under a rock, I'm rather convinced
Roland knows rather well how distasteful this statement is, not to mention
the probability of it being an empty threat ... which makes it even worse.
USA law is not directly applicable to EU citizens, and also general
compensation for law expenses don't apply as in the EU legal system. If he
had any intention of perusing such a lawsuit it'd need to be under the
jurisdiction of a court overseeing the place where the supposed offence had
happened. Also he would need to hire a layer who is versed in french law
and (probably) works on site. And to pile on, libel is a hard thing to
prove, as in many jurisdictions it requires proving malice and/or intent
(like in mine). All in all I'd consider this one very Ronald in character:
first have a speech, and another, then if that doesn't work (i.e. you get
ignored or challenged) insult somebody, if insulting somebody doesn't work
threaten something or someone. That's the very definition of how trolling
works and what it is, as you'd duly noted. So, as usual, if a troll
couldn't provoke someone then it escalates ...

* which Roland has used on multiple occasions to refer to people
frequenting this list, and in general to assert his "superior ways". I have
an email from the list sent by him dating back to 2016 where this
particular expression had been used.

Hence, I'll be removing myself from this list, effective immediately.
>

I do hope you reconsider, it's going to be a loss for you, but much bigger
loss for us.

You win. Audience claps. Curtains.
>

Yeah ... except that nobody claps ...

On Thu, Apr 29, 2021 at 1:05 PM Bernhard Lindner <
priv...@bernhard-lindner.de> wrote:

> The main problem isn't trolling.


Actually it is.

The main problem is: Roland comes from a completely
> different world. The world of functional safety.


If I came from Mars that still wouldn't give me the right to abuse, insult
or demean other people on this list.

On Thu, Apr 29, 2021 at 2:48 PM Tuukka Turunen  wrote:

>  Technically it is a trivial thing to remove someone from a mailing list.
> The challenging part is to decide when it is time to do that.
>

Well, my personal opinion is that the time had come some time ago.
Nonetheless, this issue festered over the years, and also not without some
fault of us (the users of said list). Many of just ignored the ramblings of
said person without a challenge to the turn of phrase or behaviour (the
"Ronald filters" is one such example). I must confess somewhat ashamedly, I
was relieved as he disappeared for some time, so I thought he'd finally
left. But apparently not ...

I second the request for Roland to be removed from the list, preferably
forever.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] L Word

2021-04-30 Thread Bernhard Lindner

> The other part of the problem is that he doesn't come from the world of 
> well-adjusted,
> well-behaved people. This could answer your question.

Well, I have met a lot of such people in my life. Such people tend to think 
different
and/or critical and/or they are straight, which is something I like and that 
can be very
useful. Of course the underlying intentions must be constructive anyway - which 
should be
the main question when considering to ban someone.

Do you think Roland's main intentions are destructive?

-- 
Best Regards,
Bernhard Lindner

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


Re: [Interest] L Word

2021-04-30 Thread Scott Bloom
In all seriousness, Roland does bring up many valid points, however they are 
often lost due to the demeanor use to present them.

I do think if qt had a qt-med-interest or qt-fusa-interest where the needs of 
medical device deverlopers or functional safety developers was the primary 
concern, his views would likely be less obscure and more in the majority.

Scott

From: Interest  On Behalf Of Ilya Diallo
Sent: Thursday, April 29, 2021 06:04
To: Tuukka Turunen 
Cc: interest@qt-project.org
Subject: Re: [Interest] L Word

Easy solution: create the rol...@qt-projet.org 
list and send him and his (surely numerous) followers there.
Think "separation of concerns" rather than "ban"

Le jeu. 29 avr. 2021 à 13:46, Tuukka Turunen 
mailto:tuukka.turu...@qt.io>> a écrit :
Hi,

Perhaps we have been too long tolerant for the behavior that many see 
problematic (myself included). The challenge is the mix of valid and invalid 
items. It is easier to react to things that are clear violations to our CoC: 
http://quips-qt-io.herokuapp.com/quip-0012-Code-of-Conduct.html and nothing 
else.

On the positive side, we have not had that much of these over the years. We 
have not been banning people regularly, so we also lack a bit of precedence 
with this. Technically it is a trivial thing to remove someone from a mailing 
list. The challenging part is to decide when it is time to do that.

Yours,

Tuukka



From: Interest 
mailto:interest-boun...@qt-project.org>> on 
behalf of Massimiliano Maini mailto:maxma...@gmail.com>>
Date: Thursday, 29. April 2021 at 14.23
To: Bernhard Lindner 
mailto:priv...@bernhard-lindner.de>>
Cc: interest@qt-project.org 
mailto:interest@qt-project.org>>
Subject: Re: [Interest] L Word
Yeah, maybe that's part of the problem but, as you said, the solution
should be simple: he leaves the mailing list
or, if that's not possible, the admins "make him leave".

On top, with his ramblings and often totally wrong assertions (the
"April's fool link"-gate scandal has been absolutely
hilarious, almost as the subsequent attempt to regain some
credibility, yeah .. nice try) he has now managed to scare
the hell out of me the next time I'll be tied to a medical device: the
mere chance he may be behind it now makes me
extremely nervous. Even if it's only a blood pressure monitor.

Losing valuable people in the mailing list and, at some point, the
mailing list at all is like throwing away a Ferrari
because a pidgeon keeps shitting on it. I'd argue that getting rid of
the pidgeon is a more sensible solution.

On Thu, 29 Apr 2021 at 12:05, Bernhard Lindner
mailto:priv...@bernhard-lindner.de>> wrote:
>
> The main problem isn't trolling. The main problem is: Roland comes from a 
> completely
> different world. The world of functional safety. This world is difficult and 
> a completely
> different from conventional software development. It is particularly 
> different from
> smartphone and web development. And it doesn't have much to do with desktop 
> software
> development. I have also been in this world for more than 3 years. A world 
> where
> programming is the least important thing. Where documentation is important. 
> And the law.
> And prison. And accuracy and multi-level tests and reliability and 
> verification and
> validation and standards. And many years of support. And certifications. A 
> person who has
> worked in this world for a long time has different priorities. Roland calls 
> this "True
> Software Engineering".
>
> Obviously, Qt has nothing to do with this type of software engineering. And 
> it's obviously
> not suitable for functional safety (at least not if you take it seriously).
>
> What I don't understand is why Roland doesn't just leave the mailing list and 
> forget about
> Qt. Qt is not suitable for use in his industrial sector, so I can't 
> understand why he
> spends so much time writing about the conflict between the reality of Qt and 
> the reality
> of his industrial sector. If I were him, I would have given up trying to 
> influence Qt's
> strategy a long time ago.
>
> (Actually, I'm about to give up my hopes for desktop development with Qt).
>
> So, Roland, why are you keeping the conflicts going?
>
> --
> Best Regards,
> Bernhard Lindner
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Language file resource loaded but UI not updating

2021-04-30 Thread Nicholas Yue
Hi,

  I have a handler which responds to user language selection.

  I have map the index to load the correct language file but the UI remains
the same (no change to the text label)

  What function do I need to call to tell the application that I have
loaded a language file and to use it ?

void CMEForm::handleLanguageChange(int index)

{

QLocale locale = ui_languageComboBox->itemData(index).toLocale();

std::cout << "handleLanguageChange() called index = " << index <<
" locale = " <<
QLocale::languageToString(locale.language()).toStdString() <<
std::endl;


// This may be the location where we can do the language/local swap/change

{

QTranslator translator;

QString lang = QLocale::languageToString(locale.language());

/*

QString country = QLocale::countryToString(locale.country());

*/

QString bcp47Name = locale.bcp47Name();

QString langFile;

if (bcp47Name == "en")

langFile = QString(":/language/.qm/cme_gb.qm");

else

langFile = QString(":/language/.qm/cme_%1.qm").arg(bcp47Name);

/*

qDebug() << "START";

qDebug() << "bcp47Name = " << bcp47Name;

qDebug() << "locale = " << locale;

qDebug() << "lang = " << lang;

qDebug() << "country = " << country;

qDebug() << "langFile = " << langFile;

qDebug() << "END";

*/

if (qApp->removeTranslator())

{

if (translator.load(langFile)) {

qDebug() << "HELLO WORLD";

bool installed = qApp->installTranslator();

if (installed) {

loadLanguage("German");

}

qDebug() << "installed = " << installed;

QString t = qApp->translate("Form", "German");

qDebug() << "t = " << t;

//return translator.translate("MainWindow", "English");

}

}


}


}


Cheers
-- 
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Call retranslateUi() from UI generated/loaded directly from *.ui

2021-04-30 Thread Friedemann Kleint

Hi,

>  I am developing an application where I am generating the UI via 
loading the *.ui rather than using uic to generate the source/header file.


>  I need to call retranslateUi to update my translation but most 
documentation talks about a generated method by uic


It should automatically react to language change events, see:

https://doc.qt.io/qt-6/quiloader.html#setLanguageChangeEnabled

Regards, Friedemann

--

Friedemann Kleint
The Qt Company GmbH

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