I have this strange issue in my QML Project, that I have successfully created *.so file of my extension, which I have put in
Qt Code:
  1. /usr/lib/qt4/imports/Kornicameister/XMLWriterParser
To copy to clipboard, switch view to plain text mode 
along with qmldir file and at the very beginning after I've just added
Qt Code:
  1. import Kornicameister.XMLWriterParser 1.0
To copy to clipboard, switch view to plain text mode 
in QML file I am able to write
Qt Code:
  1. XMLWriterParser{
  2. id: myItem
  3. }
To copy to clipboard, switch view to plain text mode 
and everything works fine (I am also able to access methods declared in c++ code), but suddenly Creator fails to find imported plugin...this is pretty weird...even more if I could access myItem right after adding import statement

I am not quite sure which part of the code should I add, so I will post my repository github url https://github.com/kornicameister/QMLXMLParser
in this code I have two classes
- XMLParser
- XMLWriterParser
and I am trying to use XMLWriterParser inside QML system...
what I am doing wrong, that it fails to find my library correctly ? Maybe I am missing some headers, however documentation does not mention about headers at all...

additionally here is the pro file of the project where I am trying to use the plugin
Qt Code:
  1. # Add more folders to ship with the application, here
  2. folder_01.source = qml/MajekTheGame
  3. folder_01.target = qml
  4. DEPLOYMENTFOLDERS = folder_01
  5.  
  6. # Additional import path used to resolve QML modules in Creator's code model
  7. QML_IMPORT_PATH =
  8.  
  9. symbian:TARGET.UID3 = 0xE4C4158B
  10.  
  11. # Allow network access on Symbian
  12. symbian:TARGET.CAPABILITY += NetworkServices
  13.  
  14. # Define QMLJSDEBUGGER to allow debugging of QML in debug builds
  15. # (This might significantly increase build time)
  16. # DEFINES += QMLJSDEBUGGER
  17.  
  18. # If your application uses the Qt Mobility libraries, uncomment
  19. # the following lines and add the respective components to the
  20. # MOBILITY variable.
  21. # CONFIG += mobility
  22. # MOBILITY +=
  23.  
  24. # The .cpp file which was generated for your project. Feel free to hack it.
  25. SOURCES += main.cpp
  26.  
  27. # Please do not modify the following two lines. Required for deployment.
  28. include(qmlapplicationviewer/qmlapplicationviewer.pri)
  29. qtcAddDeployment()
  30.  
  31. OTHER_FILES +=
  32.  
  33. LIBS += -L/usr/lib/qt4/imports/KornicameisterQML/XMLWriterParser/ -lXMLParser
  34. INCLUDEPATH += /usr/lib/qt4/imports/KornicameisterQML/XMLWriterParser/
  35. DEPENDPATH += /usr/lib/qt4/imports/KornicameisterQML/XMLWriterParser/
To copy to clipboard, switch view to plain text mode