Some heart attacks do not show and even ones that do, may only be temporary.
That said, q waves, if of sufficient voltage and if they follow known patterns, are the way of diagnosing heart attack
by ekg. (caution: not all q waves are indicative of heart attack!).