Hello,
Can i change system DateTime using QT?
Printable View
Hello,
Can i change system DateTime using QT?
Using these classes i can only get system time, or I mistaken?
You are not mistaken. You can't change system time using Qt.
O my god mingw don`t have settimeofday in time.h
I dont now what to do :confused: :crying:
You will have to refer to different methods as different operating systems have their own restrictions on changing time. For example in Windows you need to be an administrator, so the application can't change the time. Or in Linux you need to be a root user. Perhaps you can call command line arguments?
Do you mean use a system command "date"?
I shall try it today.
I kill problem by using Win API
Senks to all