"Convert " Python to use QT project , qmake option error?

I am using the following Linux command (see attached ) to be able to debug Python code in QT.

I got the dependencies loaded and now I am getting an error.
–qmake=/home/nov25-1/Qt/5.15.2/gcc_64/bin/

indicating my qmake option is incorrect.

Can anybody help me to make the “qmake” option right ?

nov25-1@nov251-desktop:~/nanovna-saver-New-Version$ python3 setup.py install --qmake=/home/nov25-1/Qt/5.15.2/gcc_64/bin/ --ignore-git --debug --build-tests --parallel=8 --make-spec=ninja --verbose-build --module-subset=Core,Gui,Widgets

You will need to provide a lot more detail about the code you are working with.

Is this a PyQt or PySide project? What is the code that you are compiling?
What is it that is being “converted”?

Is it open source, have you asked the authors how they debug this code?

I’m not seeing an error message. Can you provide all the output you see, include the command line?

Put that text inside a pre-formatted text block like this:

```
your output here
```

You will need to provide a lot more detail about the code you are working with.

Why ? I am trying to run setup.py , I am not near the actual code.

Is this a PyQt or PySide project? What is the code that you are compiling?

All I know is nanoVNASaver.py and install “setup.py”

What is it that is being “converted”?

Is it open source, have you asked the authors how they debug this code?

That is outside what I asked , but yes it is "open source "…

I’m not seeing an error message.

I have provided the error -

Can you provide all the output you see, include the command line?

Here is my log copy - it is hard to “format” and if that is an issue

thanks for you reply and hope somebody else can help without formatting…

command

ov25-1@nov251-desktop:~/nanovna-saver-New-Version$ python3 setup.py install --qmake=/home/nov25-1/Qt/5.15.2/gcc_64/bin --ignore-git --debug --build-tests --parallel=8 --make-spec=ninja --verbose-build --module-subset=Core,Gui,Widgets

response

An error occurred while building the project, please ensure you have the most updated version of setuptools, setuptools_scm and wheel with:

pip install -U setuptools setuptools_scm wheel

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]

or: setup.py --help [cmd1 cmd2 …]

or: setup.py --help-commands

or: setup.py cmd --help

error: option --qmake not recognized

Put that text inside a pre-formatted text block like this:


I am looking for resolution - to eliminate

error: option --qmake not recognized

I was NOT expecting AI / canned of the subject replies,

or

am I asking the wrong group ?

If so I will gladly remove my post.

Please indicate if I am talking to an AI robot or human.

PS I am human…

Thanks

The --qmake option requires a path to qmake itself, but you’ve given it the path to the bin folder, which I assume is where qmake is located.

I brief search also suggests to me that you might need to run a configure script to, well, configure setup.py to accept the --qmake option.

Before this gets to far off the subject - kindly allow me to rephrase ( simplify ?) my original post.

I have ( an open source ) software written in Python. I like to run and debug it using QT.

To my knowledge QT “requires” project AKA “softwarex.pro” file.

How do I convert x.py file to QT x.pro?

Thanks

I am unable to go to forum and repost / modify this thread.
I have decided to start from scratch and found this link , hence no more

"how to run Python in QT (IDE) … it is back to the plain command line…

https://www.pythonguis.com/tutorials/pyqt6-creating-your-first-window/

Now I know how to "run Python " from the command line…

My next step / question is

how do I run .py code in debug mode ?

how do I set "debug points " ?

I have a number of projects that use PyQt5 and PyQt6.
At no time was it necessary to use qmake to build the project or any Qt tools to debug it.

Why do you think you need Qt tools to debug your PyQt5 code?

My mistake (usual user error ) - since the application is build using QT I was under erroneous impression I should be able to debug it using QT.

( but the original question was why I cannot link qmake to the “install “ command …)

I am currently looking into several Python debugging tools…