Results 1 to 2 of 2

Thread: QVector and QSetting

  1. #1
    Join Date
    Oct 2007
    Location
    Italy
    Posts
    172
    Thanks
    39
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QVector and QSetting

    Hello, if a QVector storing some QString, can i set whole vector into QSetting?
    I checked on the doc and i realized that QVariant doesn't support QVector...is it right?
    What should i do? An iterator on the QVector and put into QSetting each QString?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QVector and QSetting

    You can use QStringList or QVariantList.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.