How do I load and debug Python code as QT project ?
-
wrote on 11 Jun 2023, 22:30 last edited by Anonymous_Banned275 6 Dec 2023, 16:31
Edit / update / progress ??
I added
--qmake=/home/nov25-1/Qt/5.15.2/gcc_64/bin/and get
error: option --qmake not recognized
yet MY another syntax error ...
please help...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
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 wheelusage: 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 --helperror: option --qmake not recognized
Update
Found this commandnov25-1@nov251-desktop:~/nanovna-saver-New-Version$ python3 setup.py install --qmake=/path/to/qmake --ignore-git --debug --build-tests --parallel=8 --make-spec=ninja --verbose-build --module-subset=Core,Gui,Widgets
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 --helpUpdated/ downloaded all dependencies and now I need to specify
--qmake=/path/to/qmakeI assume it has to be path from
nov25-1@nov251-desktop:
any easy way to do that ?This is really silly (question) - but how do I open existing / working Python "executable" as QT project ?
I like to run it in "debug" mode to fix/ modify some faulty code.
I can load the nanovna-saver.py file ( "Open with QT Creator") , but not as a QT project.
1/1