Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. <SOLVED>ActiveQt signal not fired to com interface Qt4.8.4

<SOLVED>ActiveQt signal not fired to com interface Qt4.8.4

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 3.0k 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.
  • L Offline
    L Offline
    laumaya
    wrote on last edited by
    #1

    Hello,
    It seems that signals of QAxBindable are not fired correctly.
    As it doesn't work in my own ActiveQt project, I have tested the Qt4.8.4 simple Example (QSimpleAX) in Qt 4.8.4 "Active X Control Test Container" and when I moved slider or changed the text, there is no signal in the application "Signal log". There is only some property changed in the "Property log". Signals are reported with other ActiveX server like "Microsoft Text box"
    I missed something or there is a bug in Qt ?

    I use Qt 4.8.4 msvc32 on Windows 7 64

    Thanks.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      laumaya
      wrote on last edited by
      #2

      Just tested with Qt5.0.2 => same problem :-(

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You should bring this problem on the Qt mailing list you might have more chances to get an useful answer there, this forum is generally not followed by Qt's developers.

        Did you also check if there was a bug report about this subject ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • L Offline
          L Offline
          laumaya
          wrote on last edited by
          #4

          Before opening a bug report, I want to be sure and I would like to know if someone use activeQt and catch event from the created activex component in a web page (Javascript).

          Yes, I have checked if there was a bug report about it... Not found.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Then again, also ask on the mailing list, it might get the attention of other people using ActiveQt

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • L Offline
              L Offline
              laumaya
              wrote on last edited by
              #6

              -There was a problem in my .rc- file.
              Sorry, don't come from the .rc file. it come from the lack of the .def file in the project file:

              Know signal are fired.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Great you found out !
                Can you share what the problem was ? So if other stumble upon the same problem they'll have less trouble fixing it

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  laumaya
                  wrote on last edited by
                  #8

                  After copying the content of QSimpleAX in other folder, copy the files :

                  • qaxserver.def
                  • qaxserver.rc
                  • qaxserver.ico
                    from $$QT_SOURCE_TREE\src\activeqt\control in the new project folder
                    Use this .pro file :
                    @TEMPLATE = app
                    TARGET = simpleax

                  CONFIG += qt warn_off qaxserver

                  SOURCES = main.cpp
                  RC_FILE = qaxserver.rc
                  DEF_FILE = qaxserver.def
                  @

                  Then the control will work well in "ActiveX Control Test Container".

                  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