File tree Expand file tree Collapse file tree
extensions/PythonQt_QtAll Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ void PythonQt_init_QtWebKit(PyObject*);
7676#endif
7777
7878namespace PythonQt_QtAll {
79- PYTHONQT_QTALL_EXPORT void init ()
79+ PYTHONQT_EXPORT void init ()
8080{
8181#ifdef PYTHONQT_WITH_CORE
8282 PythonQt_init_QtCore (0 );
Original file line number Diff line number Diff line change 3333 *
3434 */
3535
36- #ifdef WIN32
37- #ifdef PYTHONQT_QTALL_EXPORTS
38- #define PYTHONQT_QTALL_EXPORT __declspec (dllexport)
39- #else
40- #define PYTHONQT_QTALL_EXPORT __declspec (dllimport)
41- #endif
42- #else
43- #define PYTHONQT_QTALL_EXPORT
44- #endif
36+ #include " PythonQtSystem.h" // For PYTHONQT_EXPORT
4537
4638namespace PythonQt_QtAll {
47- // ! initialize the Qt binding
48- PYTHONQT_QTALL_EXPORT void init ();
39+ // ! Initialize the Qt bindings enabled at configuration time
40+ PYTHONQT_EXPORT void init ();
4941}
5042
5143#endif
You can’t perform that action at this time.
0 commit comments