Obsolete Members for QAxFactory

QAxFactory 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.

매크로

(deprecated) QAXFACTORY_DEFAULT(Class, ClassID, InterfaceID, EventID, LibID, AppID)

매크로 문서

[deprecated] QAXFACTORY_DEFAULT(Class, ClassID, InterfaceID, EventID, LibID, AppID)

이 매크로는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 매크로를 사용하지 않는 것을 강력히 권장합니다.

이 매크로는 암시적으로 선언된 QAxFactory 구현체를 통해 이 COM 서버 Class 의 단일 QObject 하위 클래스를 내보내는 데 사용할 수 있습니다.

이 매크로는 Class 클래스를 CLSID ClassID 를 가진 COM 코클래스로 내보냅니다. 속성과 슬롯은 IID InterfaceID 을 가진 COM 인터페이스를 통해 선언되며, 시그널은 IID EventID 을 가진 COM 이벤트 인터페이스를 통해 선언됩니다. 모든 선언은 ID LibID 을 가진 타입 라이브러리에 포함되며, 서버가 실행형 서버인 경우 애플리케이션 ID AppID 을 갖게 됩니다.

#include <qaxfactory.h>

#include "theactivex.h"

QAXFACTORY_DEFAULT(
    TheActiveX,                               // widget class
    "{01234567-89AB-CDEF-0123-456789ABCDEF}", // class ID
    "{01234567-89AB-CDEF-0123-456789ABCDEF}", // interface ID
    "{01234567-89AB-CDEF-0123-456789ABCDEF}", // event interface ID
    "{01234567-89AB-CDEF-0123-456789ABCDEF}", // type library ID
    "{01234567-89AB-CDEF-0123-456789ABCDEF}"  // application ID
)

참고: 이 클래스는 QAXFACTORY_BEGIN()를 사용하도록 권장됨에 따라 더 이상 사용되지 않습니다.

QAXFACTORY_EXPORT()도 참조하십시오 .

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.