Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Qt Development
    3. Language Bindings

    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • T

      Solved Confused about how connect is passing argument to a function
      • TenG

      10
      0
      Votes
      10
      Posts
      726
      Views

      eyllanesc

      @TenG XY Problem: https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem

    • Cr0ss

      Solved Pyd cannot be imported, using shiboken6 to bind
      shiboken qt6 binding pyside6 c++ • • Cr0ss

      4
      0
      Votes
      4
      Posts
      1467
      Views

      Cr0ss

      Hi @SGaist, I took you advice and finally found out where the problem is.
      I looked into Wependency Walker and realized that I can import PySide6.QWidgets before I import wiggly, So that the dlls needed is already loaded for wiggly.
      I've been testing wiggly using one single import wiggly in IPython, not runing the main.py directly in the examples, trying to copy dlls from one place to another, and kept getting ImportErrors.
      Now I write:

      import PySide6.QtWidget import wiggly

      and it works.

      Thanks for your help!

    • A

      Unsolved what would be a good editor to put an assembly function into QT from a library
      • AI_Messiah

      2
      0
      Votes
      2
      Posts
      249
      Views

      jeremy_k

      I'm under the impression that Visual C++ has disallowed inline assembly for x64 for a while.

      Quoting from https://docs.microsoft.com/en-us/cpp/assembler/inline/inline-assembler?view=msvc-160:
      Inline assembly is not supported on the ARM and x64 processors.

    • U

      Solved PyQt doesn't understand &
      • user4592357

      28
      0
      Votes
      28
      Posts
      6806
      Views

      SGaist

      @Rodrigo-B hi and welcome to devnet,

      As already written, the accelerators are not permanently shown on Windows.

    • H

      Unsolved how to set "Ctrl + c" for copy shortcut on a QMainWindow?
      pyqt qaction qmainwindow • • Herzl Sh

      7
      0
      Votes
      7
      Posts
      1035
      Views

      S

      Because we had declarations of shortcuts littered all over the place we came up with the following solution to handle them in one place.

      We derived a class MyApplication from QApplication and overrode bool notify(QObject *receiver, QEvent *e) override. Within this function we checked e->type() == QEvent::Shortcut. Everything that couldn't be handled is then forwarded to QApplication::notify.

      We didn't override the Ctrl+C shortcut or anything similar. However, because this is so early in Qt's signal handling you could be lucky with this approach.

    • guard

      Unsolved I encountered a problem about monitoring multi-monitor access and disconnect, I do not know if you have encountered
      • guard

      3
      0
      Votes
      3
      Posts
      334
      Views

      guard

      No, there are three monitors, and if I disconnect one of them, I get a signal, and if I plug it back in, I get a signal, but if I disconnect it again, I don't get a signal.

    • A

      Solved Troubles using pyuic5
      • Ahmed Zeid

      9
      0
      Votes
      9
      Posts
      5490
      Views

      A

      UPDATE:
      I pip uninstalled/re-installed the following, and that solved my issue:
      PyQt5
      PyQt5-tools
      PyQt5-sip
      PyQtWebEngine

    • R

      Solved Enabling QML debugging with Pyside2 5.11.2
      pyside2 python2 qtcreator debugger qml profiler • • Rguessford

      4
      0
      Votes
      4
      Posts
      2043
      Views

      A

      @Rguessford I would also be interested to get the Qt Creator Debug button to work for both, Python and QML debugging, at the same time. Even with QQmlDebuggingEnabler instantiated.
      I think, I'm stuck at the same as @Jeff-B-0

    • C

      Unsolved changing the application codec for all things
      • cang

      6
      0
      Votes
      6
      Posts
      578
      Views

      C

      @aha_1980 Hi,

      I passed my string into QString constructor like this "QtextEdit->setText(Qstring().fromLocal8bit(mystring.c_str()); and my problem solved. I believe this is the only way I can work with.

      About QtJson I never tried actually. I searched for the top 5 cpp json parser and benchmarked every one of them. Rapidjson was the fastest. My log files are like 5 gb per file and if you think QtJson is faster I can try.

    • N

      How to merge quick look preview with Qt4.6 in mac os ?
      • nehaR

      5
      0
      Votes
      5
      Posts
      3010
      Views

      R

      @sirius79 Did you get anywhere with this? :-)

    • K

      Unsolved VideoFrameProbed signal transfers empty frames
      • keesaev

      2
      0
      Votes
      2
      Posts
      281
      Views

      SGaist

      Hi and welcome to devnet,

      You are assuming that you have an image in QVideoFrame which might not be the case.

      See QVideoFrame::handleType.

    • H

      Unsolved How to emit signal from Dialog to a slot in MainWindow in PyQt
      • hachbani

      8
      0
      Votes
      8
      Posts
      4597
      Views

      SGaist

      Can you provide a minimal runnable example that shows your issue ?

    • U

      Unsolved Unattended install
      • unattended

      2
      0
      Votes
      2
      Posts
      326
      Views

      SGaist

      Hi and welcome to devnet,

      That's a question you should rather bring to the authors of the PyQt bindings.

    • R

      Unsolved QT Designer can't detect python
      designer error python3 • • Running_Child

      1
      0
      Votes
      1
      Posts
      394
      Views

      No one has replied

    • A

      Unsolved PyQt5 virtual keyboard (TypeError: missing 1 required positional argument)
      pyqt5 virtualkeyboard python3 qt5.5 python • • alekssandrap

      5
      0
      Votes
      5
      Posts
      4626
      Views

      C

      Hay i saw your keyboard its really good, i also want to design this kind of keyboard, can you please tell me when i move the cursor on the keys it automatically enlarge. how is it possible ?

      and another one is, when i am typing it does not show anything but my only cursor move forward.

    • jandyman

      Unsolved PyQt / Pyside2 commitment to Mac OS?
      • jandyman

      4
      0
      Votes
      4
      Posts
      788
      Views

      JKSH

      @jandyman said in PyQt / Pyside2 commitment to Mac OS?:

      I checked and app.setStyle('Fusion') also works, and it is much simpler.

      Great! Thanks for trying.

      I'll vote on the bug report

      Edit: I tried to go vote on the, but I cannot figure out how

      Go to https://bugreports.qt.io/browse/PYSIDE-695 Click "Log In" on the top-right corner of the page (You'll probably be taken to the home page after logging in) Navigate to https://bugreports.qt.io/browse/PYSIDE-695 again Click "Vote for this issue" on the middle-right of the page

      It would also be helpful to post a comment stating your versions of macOS + Python + Pyside, and letting the devs know that app.setStyle('Fusion') worked for you

      it wasn't at all difficult to run across this bug, which is why it surprised me in the first place.

      I'm just glad that it's also easy to work around the bug.

    • C

      Unsolved How change a Variable from another class
      • Codmasters

      2
      0
      Votes
      2
      Posts
      389
      Views

      KroMignon

      @Codmasters said in How change a Variable from another class:

      the code gives me "False" instead of TRUE

      This has nothing to do with Qt, first try to learn C++, there are many online trainings available.

    • W

      Solved Model QProgressDialog jams when updated from separate thread
      • Willw

      9
      0
      Votes
      9
      Posts
      917
      Views

      JonB

      @SGaist It's just that your predictions are uncanny, i.e. scary ;-)

    • P

      Unsolved Porting from Embarcadero C++
      • Paul Dowd

      1
      0
      Votes
      1
      Posts
      328
      Views

      No one has replied

    • G

      Solved Python in QT
      • GSuarez

      8
      0
      Votes
      8
      Posts
      773
      Views

      G

      Thank you all for the discussion