Another formulation can take advantage of the Symmetric Positive Definite (SPD) property of the matrices $\boldsymbol{Q}_{k}$.
For specific $k$ one can write, using the Eigen Deocmposition of the matrix:
$$
\boldsymbol{x}^{\top} \boldsymbol{Q} \boldsymbol{x} = \boldsymbol{x}^{\top} \boldsymbol{U}_{k}^{\top} \boldsymbol{D}_{k} \boldsymbol{U}_{k} \boldsymbol{x}
$$
Where $\boldsymbol{U}_{k}^{\top} \boldsymbol{D}_{k} \boldsymbol{U}_{k} = \boldsymbol{U}_{k}^{\top} \operatorname{Diag} \left( \boldsymbol{d}_{k} \right) \boldsymbol{U}_{k}$ being the Eigen Value Decomposition of $\boldsymbol{Q}_{k}$ with $\boldsymbol{d}_{k} > \boldsymbol{0}$.
Setting $\boldsymbol{z}_{k} = \boldsymbol{U}_{k} \boldsymbol{x}$ the problem becomes $\sum_{k}^{N} {\left( \sum_{i}^{p} {d}_{k, i} {z}_{k, i}^{2} - {v}_{k} \right)}^{2}$.
This can be solved by forming a Linear Least Squares problem to find $\boldsymbol{y}_{k} = \boldsymbol{z}_{k}^{\circ 2}$.
It will require to build a matrix $\tilde{\boldsymbol{D}}$ where the $k$ row has $N$ non zero values of $\boldsymbol{d}_{k}$ wrapped with zeros to have length of $N p$. This will match a vector which is the vectorization of all the different $\boldsymbol{y}_{k}$.
Since both $\boldsymbol{d}_{k}$ and $\boldsymbol{v}$ are positive, all values of $\boldsymbol{y}_{k}$ will be non negative as well.
Then, using the identity $\boldsymbol{U}_{k} \boldsymbol{x} = \boldsymbol{z}_{k}$ can be used to get $\boldsymbol{x}$.
I didn't solve it all the way, but I think the end result will be something like:
$$ \boldsymbol{x} = \frac{1}{N} \sum_{k}^{N} \boldsymbol{U}_{k}^{T} \sqrt{\boldsymbol{y}_{k}} $$
There will be ab ambiguity about the sign of each element.