Topic: erreur de frappe trouvée dans les fichiers

@Laurent (scorpio810)

erreur de frappe trouvée dans les fichiers

../sources/ui/dynamicelementtextitemeditor.cpp
26 = #include "../ui_dynamicelementtextitemeditor.h"

_  devrait être  /
26 = #include "../ui/dynamicelementtextitemeditor.h"

../sources/ui/elementinfowidget.cpp
24  #include "../ui_elementinfowidget.h"

_ devrait être  /
24  #include "../ui/elementinfowidget.h"

I am an pre-retired industrial developer technician and born in 1960.Electrical, Electronics, Mechanical,Électricité, électronique, mécanique,Native language(Dutch)/langue maternelle/moedertaal(BE,NL).

Re: erreur de frappe trouvée dans les fichiers

Did you read line 18 in both cpp-files?

There the headerfiles are already included.
So:
If the lines you mentioned do not cause compilation-errors, they do not need to be changed.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

3 (edited by Re-searcher 2025-10-09 16:26:08)

Re: erreur de frappe trouvée dans les fichiers

The include ui_ files are generated files.


QET_changes-files

../ui_ TO ui

../sources/ui/

dynamicelementtextitemeditor.cpp   
line 26 MUST BE #include "ui_dynamicelementtextitemeditor.h"
elementinfowidget.cpp
Line 24 MUST BE #include "ui_elementinfowidget.h"
imagepropertieswidget.cpp
Line 23 MUST BE #include "ui_imagepropertieswidget.h"
inditextpropertieswidget.cpp
Line 24 MUST BE #include "ui_inditextpropertieswidget.h"
linksingleelementwidget.cpp
Line 28 MUST BE #include "ui_linksingleelementwidget.h"
multipastedialog.cpp
Line 27 MUST BE #include "ui_multipastedialog.h"
potentialselectordialog.cpp
Line 28 MUST BE #include "ui_potentialselectordialog.h"
shapegraphicsitempropertieswidgetcpp
Line 24 MUST BE #include "ui_shapegraphicsitempropertieswidget.h"

I am an pre-retired industrial developer technician and born in 1960.Electrical, Electronics, Mechanical,Électricité, électronique, mécanique,Native language(Dutch)/langue maternelle/moedertaal(BE,NL).

4 (edited by plc-user Yesterday 11:26:29)

Re: erreur de frappe trouvée dans les fichiers

The project compiles here without any warnings or errors regarding these lines the way they are now!
If there would be a general problem with these lines, more users would have reported...

What is your build-environment?
What versions do you use? (OS, Qt, Compiler, etc)
How do you compile?
What error-messages do you get, when not changing these lines?

Edit:
You have not yet given any reason why these lines should be changed.

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: erreur de frappe trouvée dans les fichiers

I also found this
J'ai également trouvé ceci


../sources/colorbutton.cpp: In member function ‘void ColorButton::clicked(bool)’:
../sources/colorbutton.cpp:56:32: warning: unused parameter ‘checked’ [-Wunused-parameter]
   56 | void ColorButton::clicked(bool checked)
      |                           ~~~~~^~~~~~~


../sources/colorcombobox.cpp: In member function ‘virtual void ColorComboBox::paintEvent(QPaintEvent*)’:
../sources/colorcombobox.cpp:80:45: warning: unused parameter ‘e’ [-Wunused-parameter]
   80 | void ColorComboBox::paintEvent(QPaintEvent *e) {
      |                                ~~~~~~~~~~~~~^


../sources/editor/UndoCommand/openelmtcommand.cpp: In member function ‘virtual void OpenElmtCommand::redo()’:
../sources/editor/UndoCommand/openelmtcommand.cpp:66:102: note: ‘#pragma message: @TODO uncommante slot_select when fixed, see itemChange function for each primitive’
   66 | #pragma message("@TODO uncommante slot_select when fixed, see itemChange function for each primitive")
      |                                                                                                      ^

I am an pre-retired industrial developer technician and born in 1960.Electrical, Electronics, Mechanical,Électricité, électronique, mécanique,Native language(Dutch)/langue maternelle/moedertaal(BE,NL).

Re: erreur de frappe trouvée dans les fichiers

@Re-searcher:
And I found, that you do not answer questions and do not explain what you want to say with your posts.
This way, you are just wasting the time of people who read your posts.
Just barking around does not help at all!

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !