Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

qtdelay

qtdelay provide a single marco function which is able to execute a part of the code after the specified delay. it won't block the thread beacuase it's based on QTimer.

How to use

  1. Put qtdelay.h into your project, add it into .pro , and enable C++11 by adding QMAKE_CXXFLAGS += -std=c++11.

  2. Use it like QtDelay(1000, {qDebug()<<"Hello";});. this code will output hello after 1 second.

About

Delay execute in Qt, execute a part of the code after the specified delay.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages