Quote Originally Posted by mcostalba View Post
BTW I have qt 3.3.6 installed.
Ah, sorry, I missed that

There is a QVariant constructor that takes a Q_LLONG argument, I think it should work for you. Try using
Qt Code:
  1. dbs((Q_LLONG)v.count());
To copy to clipboard, switch view to plain text mode 

Casting the value to uint should work as well, especially that QValueVector::count() should return an uint all by itself... If you have a 64b architecture then uint should be 64 bits wide as well. Are you sure your code is correct?