Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Regarding Datatypes

    General and Desktop
    3
    3
    1410
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      Indrajeet last edited by

      Hi All

      I have created a dll in -QT- Qt whose functions return values like QString,QStringList.
      Now I am using this -QT- Qt dll in Win32 Console Application and calling these dll functions here.
      So what datatype should i use in win32 to collect QString & QStringList values in win32.

      Edit: the name of the library we all love here is Qt, not QT. That one refers to QuickTime; Andre

      1 Reply Last reply Reply Quote 0
      • D
        DenisKormalev last edited by

        You should use QString and QStringList data types. So you need link QtCore to your Console App.

        1 Reply Last reply Reply Quote 0
        • A
          andre last edited by

          If you don't want to use Qt and Qt datatypes in your win32 console application, then your library methods should not return Qt data types. So, either:

          Link the win32 console app to Qt Core, and be able to use the Qt data types, or

          Do not use Qt data types in your library API but limit yourself to standard data types.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post