The only danger with this hand is a 5-1 or 6-0 heart break or if the long heart hand in a 4-2 break also holds 5 spades, so the question is how to maximize your chances if either occurs.
It seems to rule out possibilities would be a viable option of play; cash the QJ of spades - if both folow, you can rule out case #2. If one shows out on the second spade, then case 2 is possible; at this point it appears a duck of a heart would be the best play and rely on the 4/2 or 3/3 heart break.
If case #2 is ruled out when both follow to QJ of spades, then we are back to trying to solve case #1. At this point it seems right to play 1 more high club, then the Ace of hearts and then cross to the Queen of hearts - the only problem is if someone show out on either heart. If RHO has the length in hearts, I can play A, K of spades, pitching the Queen of clubs and 1 heart. We are down to a 5-card ending. RHO must hold 2 hearts, so now the J of clubs will squeeze RHO if he also started life with the king of diamonds.
If LHO has heart length, no squeeze will operate that I know, so in this case I will rely on the diamond finesse. Playing in this fashion will win anytime the hearts are 3/3 or 4/2 (82%) and whenever RHO holds the diamond King when the hearts are unbalanced (9%). Although the percentages change when RHO is known to hold length, this is close enough for me. Call it 85% when RHO has 5 or more hearts and 95% when LHO holds the long hearts, or about a 90% line it would seem to me.
The only other viable line I see - is to cross to the king of spades and take the diamond finesse at trick 3. If this loses, you will have to find the hearts 3/3. If the finesse wins, you can can unblock the spade, then duck a diamond. This would win if the diamonds are 3/3 with the King onside (18%) and when the hearts are 3/3, (36%). Only a 54% line. Ugh.
Best I can come up with before the director starts hovering over my table.
South leads club T against 6NT