Syntax - passing "x.ui" file to uic ?
-
@AnneRanch ....and here is the solution

the "final " command :
"qt5-tools uic $FileName$"
TODO
find out about all these $xxx$ symbols.AND
find out how it "converts" ui to C++@AnneRanch OK, here I go trying to actually run qt5....and getting this error.
I could post this on python subforum since this same error has been around....
I am not interested whose tool problem , but it appears as a version issue of unknown tool.I cannot decode the error - so I am asking for anybody who can to help me to get some idea to find where is the problem .
Please refrain from recommending other forum - I need solution , not referrals.
Running uic on valid test file :
/home/nov25-1/.local/bin/qt5-tools uic A.ui
/home/nov25-1/.local/lib/python3.10/site-packages/qt5_applications/Qt/bin/uic: symbol lookup error: /home/nov25-1/.local/lib/python3.10/site-packages/qt5_applications/Qt/bin/uic: undefined symbol: _ZdlPvm, version Qt_5Process finished with exit code 0
-
@AnneRanch OK, here I go trying to actually run qt5....and getting this error.
I could post this on python subforum since this same error has been around....
I am not interested whose tool problem , but it appears as a version issue of unknown tool.I cannot decode the error - so I am asking for anybody who can to help me to get some idea to find where is the problem .
Please refrain from recommending other forum - I need solution , not referrals.
Running uic on valid test file :
/home/nov25-1/.local/bin/qt5-tools uic A.ui
/home/nov25-1/.local/lib/python3.10/site-packages/qt5_applications/Qt/bin/uic: symbol lookup error: /home/nov25-1/.local/lib/python3.10/site-packages/qt5_applications/Qt/bin/uic: undefined symbol: _ZdlPvm, version Qt_5Process finished with exit code 0
@AnneRanch ...and there is more
uic converts file ( ui ) to C++ , however, after more research it looks as it can be converted to .py file (why ?) with this "command "qt5-tools uic $FileName$ -o $FileNameWithoutAllExtensions$.
These "$ text $" are PyCharm IDE macros !! ( No PyCharm documentation found so far ) -
@AnneRanch ...and there is more
uic converts file ( ui ) to C++ , however, after more research it looks as it can be converted to .py file (why ?) with this "command "qt5-tools uic $FileName$ -o $FileNameWithoutAllExtensions$.
These "$ text $" are PyCharm IDE macros !! ( No PyCharm documentation found so far )@AnneRanch said in Syntax - passing "x.ui" file to uic ?:
These "$ text $" are PyCharm IDE macros !! ( No PyCharm documentation found so far )
If you read my reply earlier I supplied you with precisely the documentation link for these.
-
C Christian Ehrlicher moved this topic from General and Desktop on
-
@AnneRanch ...and there is more
uic converts file ( ui ) to C++ , however, after more research it looks as it can be converted to .py file (why ?) with this "command "qt5-tools uic $FileName$ -o $FileNameWithoutAllExtensions$.
These "$ text $" are PyCharm IDE macros !! ( No PyCharm documentation found so far )@AnneRanch I don't know why you stick with qt5-tools and why you speak about C++ if you use PyCharm and python.
But here is a working example ofuicfrom PySide6 usage withPyCharmif you need it

I tried it and it works. But I don't think this is a good and convenint way.
For example I have 20+ UI-files and pressing right click, selecting tool, executing it... it just too big overhead for me. So I have a simple script that runsuicfor all my ui-files at once. I found it to be much quicker and more convenient way.P.S. Just remove
-g pythonif you need C++ output -
@AnneRanch said in Syntax - passing "x.ui" file to uic ?:
These "$ text $" are PyCharm IDE macros !! ( No PyCharm documentation found so far )
If you read my reply earlier I supplied you with precisely the documentation link for these.
@JonB actually all these symbols are available if you push a plus sign button to the right of the field for command arguments editing - you may choose from a list there.
I just think thatuicisn't the best tool to use this way...P.S. Offtopic. I can't stop wondering how people can do 5 min video from a thing that may be explained in 5 lines of text or 1 picture... But anyway, thanks for your links.
-
@JonB actually all these symbols are available if you push a plus sign button to the right of the field for command arguments editing - you may choose from a list there.
I just think thatuicisn't the best tool to use this way...P.S. Offtopic. I can't stop wondering how people can do 5 min video from a thing that may be explained in 5 lines of text or 1 picture... But anyway, thanks for your links.
@StarterKit said in Syntax - passing "x.ui" file to uic ?:
P.S. Offtopic. I can't stop wondering how people can do 5 min video from a thing that may be explained in 5 lines of text or 1 picture... But anyway, thanks for your links.
Monetarization....
Esp. on YouTube... Most people stretch their videos to 5, 10 or more minutes in order to get more rewards (YT can put in more ads = more profit) -
@StarterKit said in Syntax - passing "x.ui" file to uic ?:
P.S. Offtopic. I can't stop wondering how people can do 5 min video from a thing that may be explained in 5 lines of text or 1 picture... But anyway, thanks for your links.
Monetarization....
Esp. on YouTube... Most people stretch their videos to 5, 10 or more minutes in order to get more rewards (YT can put in more ads = more profit)@Pl45m4 said in Syntax - passing "x.ui" file to uic ?:
Monetarization....
Esp. on YouTube... Most people stretch their videos to 5, 10 or more minutes in order to get more rewards (YT can put in more ads = more profit)Ok, you cleared my conscience a little :) (there are some pretty useful things go cut ads on YT... I felt a bit guilty using it... Now I'm feeling less guilty :) )
-
@Pl45m4 said in Syntax - passing "x.ui" file to uic ?:
Monetarization....
Esp. on YouTube... Most people stretch their videos to 5, 10 or more minutes in order to get more rewards (YT can put in more ads = more profit)Ok, you cleared my conscience a little :) (there are some pretty useful things go cut ads on YT... I felt a bit guilty using it... Now I'm feeling less guilty :) )
@StarterKit I don't know why you stick with qt5-tools
because what you suggested - using uic directly is just another way to "skin the cat ".- I still do not have a clear definition of passing $text$ to parent application.
- I am thrilled with hijacking the thread with irrelevant chit chat about u-tube. I guess
a) it won't get "moved"
b) there is definite show of lack of knowledge of "lounge" here
Cheers
-
@StarterKit I don't know why you stick with qt5-tools
because what you suggested - using uic directly is just another way to "skin the cat ".- I still do not have a clear definition of passing $text$ to parent application.
- I am thrilled with hijacking the thread with irrelevant chit chat about u-tube. I guess
a) it won't get "moved"
b) there is definite show of lack of knowledge of "lounge" here
Cheers
@AnneRanch, the person who use idioms complains about "hijacking the thread"... interesing... ;)
Ok, with regards to your bold text in item #1 - if you able to read then you would see 2 (two) answers to this question in messages above.- you may look into official documentation
- you may press a plus ("+") button in PyCharm IDE and see available values with hints.
I promis you not to move this topic any further with my lack of knowledge :)
-
@AnneRanch, the person who use idioms complains about "hijacking the thread"... interesing... ;)
Ok, with regards to your bold text in item #1 - if you able to read then you would see 2 (two) answers to this question in messages above.- you may look into official documentation
- you may press a plus ("+") button in PyCharm IDE and see available values with hints.
I promis you not to move this topic any further with my lack of knowledge :)
@AnneRanch: Please stop deleting your posts just because others trying to help you (I really wonder that there are some people left here) and then tell you what you don't want to hear...
-
C Christian Ehrlicher locked this topic on