Can't compile qtconfig using SDK



  • When I attempt to build the qtconfig tool using the Qt SDK on Windows XP (Creator 2.4.1, Qt 4.7.4), I get multiple compile errors:

    mainwindow.cpp:70:21: error: gst/gst.h: No such file or directory
    mainwindow.cpp:76:36: error: QtGui/private/qt_x11_p.h: No such file or directory
    mainwindow.cpp: In constructor 'MainWindow::MainWindow()':
    mainwindow.cpp:237: error: 'X11' was not declared in this scope
    mainwindow.cpp:237: error: 'DE_KDE' was not declared in this scope
    mainwindow.cpp:396: error: 'gst_init_check' was not declared in this scope
    mainwindow.cpp:397: error: 'gchar' was not declared in this scope
    mainwindow.cpp:397: error: 'versionString' was not declared in this scope
    mainwindow.cpp:397: error: 'gst_version_string' was not declared in this scope
    mainwindow.cpp:399: error: 'g_free' was not declared in this scope
    mainwindow.cpp:400: error: 'GList' was not declared in this scope
    mainwindow.cpp:400: error: 'factoryList' was not declared in this scope
    mainwindow.cpp:400: error: 'gst_registry_get_default' was not declared in this scope
    mainwindow.cpp:400: error: 'GST_TYPE_ELEMENT_FACTORY' was not declared in this scope
    mainwindow.cpp:400: error: 'gst_registry_get_feature_list' was not declared in this scope
    mainwindow.cpp:402: error: 'iter' was not declared in this scope
    mainwindow.cpp:402: error: 'g_list_first' was not declared in this scope
    mainwindow.cpp:402: error: 'g_list_next' was not declared in this scope
    mainwindow.cpp:403: error: 'GstPluginFeature' was not declared in this scope
    mainwindow.cpp:403: error: 'feature' was not declared in this scope
    mainwindow.cpp:403: error: 'GST_PLUGIN_FEATURE' was not declared in this scope
    mainwindow.cpp:404: error: 'GST_ELEMENT_FACTORY' was not declared in this scope
    mainwindow.cpp:404: error: 'gst_element_factory_get_klass' was not declared in this scope
    mainwindow.cpp:406: error: 'GST_PLUGIN_FEATURE_NAME' was not declared in this scope
    mainwindow.cpp:411: error: 'GstElement' was not declared in this scope
    mainwindow.cpp:411: error: 'sink' was not declared in this scope
    mainwindow.cpp:411: error: 'gst_element_factory_make' was not declared in this scope
    mainwindow.cpp:413: error: 'gst_element_factory_get_description' was not declared in this scope
    mainwindow.cpp:416: error: 'gst_object_unref' was not declared in this scope
    mainwindow.cpp:420: error: 'g_list_free' was not declared in this scope

    Any ideas how I can fix this?



  • The sources you get with the SDK do not support actualy building Qt. They are more for educational purposes (figure out what Qt is doing if the documentation doesn't tell you clearly). If you need to build, I'd suggest you download the actual source packages instead.



  • They used to build in an older version of the SDK, though.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.