Need to create QStringList and QVector in FORTRAN
Hi friends, :)
I have a new problem today.
I'm developing wrappers (C) for C++ lib.
FORTRAN client uses this C wrapper to call C++ lib features.
My problem now is, I need to pass instance of QStringList and QVector to the wrapper to get my work done.
How to go about? :confused:
Any idea?
Thanks in advance.
Re: Need to create QStringList and QVector in FORTRAN
I don't know what's the Qt-Problem here. You have to figure out how / if Fortran handles such structures and convert them into the correct form.
Re: Need to create QStringList and QVector in FORTRAN
Quote:
Originally Posted by
ChristianEhrlicher
I don't know what's the Qt-Problem here. You have to figure out how / if Fortran handles such structures and convert them into the correct form.
Sorry I didn't explain my problem completely.
I need to create an instance of QStringList in FORTRAN (will this support?).
Thanks for replying.
Re: Need to create QStringList and QVector in FORTRAN
That's not possible. You have to pass the strings as char* and then create your QStringList inside Qt.
Re: Need to create QStringList and QVector in FORTRAN
Quote:
Originally Posted by
ChristianEhrlicher
That's not possible. You have to pass the strings as char* and then create your QStringList inside Qt.
Thanks for your reply.
I'll try out your idea.
Have a nice day.
Bye