hi All

there is a problem in creating a .so file of a project develped in kdevelop

the following steps are being carried out to do the above..
For eg the project name is "myproject"

1) the makefile.am file is being modified as
    INCLUDES = $(all_includes)
    lib_LTLIBRARIES = myproject.la
    myproject_la_LDFLAGS = -version-info 0:2:0 $(all_libraries)
    include_HEADERS = myproject.h myprojectview.h myprojectdoc.h
    noinst_HEADERS = myproject.h
    myproject_la_SOURCES = myproject.cpp myprojectview.cpp myprojectdoc.cpp
main.cpp
    myproject_la_METASOURCES = USE_AUTO

2) then the commands
    i)  autoconf
    ii) automake
    iii) configure
    iv) make

    are executed in the above order.

    The myproject.so file is created.

    Using QLibrary it is not being loaded,however if we create a .so file of
a .c file which has been  developed using vi        editor it gets loaded
using QLibrary.

    Can anybody tell us if the way we are creating the so file is correct or
not ??


Thanks in Advance



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to