Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Regarding Datatypes

Regarding Datatypes

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.6k Views
  • 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 Offline
    I Offline
    Indrajeet
    wrote on last edited by
    #1

    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
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved