Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How do I load and debug Python code as QT project ?
Forum Updated to NodeBB v4.3 + New Features

How do I load and debug Python code as QT project ?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 204 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by Anonymous_Banned275
    #1

    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 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

    Update
    Found this command

    nov25-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 --help

    Updated/ downloaded all dependencies and now I need to specify
    --qmake=/path/to/qmake

    I 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.

    4f702b88-7c79-4939-8e77-4a3e4db94515-image.png

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved