Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107592

Invalid registry entry for ActiveX control with .ocx extension

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.3.0
    • Active Qt
    • None

      When building a dll-based ActiveX server, it gets invalid registry entry, if file extension is different from DLL. 

      It is common to use OCX for ActiveX control files, but condition in qaxserver.cpp only checks for DLL:

       if (file.endsWith(QLatin1String("dll"), Qt::CaseInsensitive))
       settings->setValue(key + QLatin1String("/InProcServer32/."), file);
       else
       settings->setValue(key + QLatin1String("/LocalServer32/."),
       QString(QLatin1Char('\"') + file + QLatin1String("\" -activex")));

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            owolff Oliver Wolff
            sergei_soloviev Sergei Soloviev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes